Skip to content
Snippets Groups Projects
Commit 389c4133 authored by Shpuld Shpludson's avatar Shpuld Shpludson
Browse files

Merge branch 'fix/hide-read-button' into 'develop'

Don't show "read" button if there are no new notifications.

See merge request !184
parents fe269b2c 07354cc4
No related branches found
No related tags found
1 merge request!184Don't show "read" button if there are no new notifications.
Pipeline #
......@@ -4,7 +4,7 @@
<div class="panel-heading base02-background base04">
<span class="unseen-count" v-if="unseenCount">{{unseenCount}}</span>
{{$t('notifications.notifications')}}
<button @click.prevent="markAsSeen" class="base04 base02-background read-button">{{$t('notifications.read')}}</button>
<button v-if="unseenCount" @click.prevent="markAsSeen" class="base04 base02-background read-button">{{$t('notifications.read')}}</button>
</div>
<div class="panel-body base03-border">
<div v-for="notification in visibleNotifications" :key="notification" class="notification" :class='{"unseen": !notification.seen}'>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment