diff options
Diffstat (limited to 'src/components/notifications/notifications.vue')
| -rw-r--r-- | src/components/notifications/notifications.vue | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue index e778e27b..16b5e8f6 100644 --- a/src/components/notifications/notifications.vue +++ b/src/components/notifications/notifications.vue @@ -6,6 +6,7 @@ <div :class="{ minimal: minimalMode }" class="Notifications" + ref="root" > <div :class="mainClass"> <div @@ -20,11 +21,20 @@ >{{ unseenCount }}</span> </div> <button + v-if="showScrollTop" + class="button-unstyled scroll-to-top-button" + type="button" + @click="scrollToTop" + > + <FAIcon icon="circle-up" /> + </button> + <button v-if="unseenCount" class="button-default read-button" + type="button" @click.prevent="markAsSeen" > - {{ $t('notifications.read') }} + <FAIcon icon="filter" /> </button> <NotificationFilters /> </div> |
