diff options
Diffstat (limited to 'src/components/notifications/notifications.vue')
| -rw-r--r-- | src/components/notifications/notifications.vue | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue index e778e27b..d57166eb 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,8 +21,17 @@ >{{ 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') }} |
