diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-12-02 12:48:21 +0200 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-12-02 12:48:21 +0200 |
| commit | b537032e6d07828db6fc016c1413970c436e19ad (patch) | |
| tree | c6d89bdbcf112678dc63236653a6aea426eacf80 /src/components/notification/notification.vue | |
| parent | 4dde9c4d529fb94b23b394aaa91e6a7cafd75777 (diff) | |
| parent | fdfb8810c1d8ab64969c38aa1a6bce1daf013249 (diff) | |
Merge branch 'develop' into fix/fix-error-handling-in-profile-tab
Diffstat (limited to 'src/components/notification/notification.vue')
| -rw-r--r-- | src/components/notification/notification.vue | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/src/components/notification/notification.vue b/src/components/notification/notification.vue index 2bbde108..f56aa977 100644 --- a/src/components/notification/notification.vue +++ b/src/components/notification/notification.vue @@ -14,14 +14,15 @@ {{ notification.from_profile.screen_name }} </router-link> </small> - <a - href="#" - class="unmute" + <button + class="button-unstyled unmute" @click.prevent="toggleMute" - ><FAIcon - class="fa-scale-110 fa-old-padding" - icon="eye-slash" - /></a> + > + <FAIcon + class="fa-scale-110 fa-old-padding" + icon="eye-slash" + /> + </button> </div> <div v-else @@ -132,14 +133,16 @@ /> </span> </div> - <a + <button v-if="needMute" - href="#" + class="button-unstyled" @click.prevent="toggleMute" - ><FAIcon - class="fa-scale-110 fa-old-padding" - icon="eye-slash" - /></a> + > + <FAIcon + class="fa-scale-110 fa-old-padding" + icon="eye-slash" + /> + </button> </span> <div v-if="notification.type === 'follow' || notification.type === 'follow_request'" |
