|
13 | 13 | class="d-flex align-items-center justify-content-end"
|
14 | 14 | style="min-width: 6rem;"
|
15 | 15 | >
|
16 |
| - <li v-if="hasUnread"> |
17 |
| - <b-button |
18 |
| - v-b-tooltip.hover |
19 |
| - variant="outline-light" |
20 |
| - class="p-2 border-0 d-flex align-items-center justify-content-center" |
21 |
| - style="width: 2rem; height: 2rem;" |
22 |
| - :title="$t('markAllAsRead')" |
23 |
| - @click="handleMarkAllAsRead" |
24 |
| - > |
25 |
| - <font-awesome-icon |
26 |
| - :icon="['fas', 'check-double']" |
27 |
| - class="h6 mb-0 text-primary" |
28 |
| - /> |
29 |
| - </b-button> |
30 |
| - </li> |
| 16 | + <b-button |
| 17 | + v-if="hasUnread" |
| 18 | + v-b-tooltip.hover |
| 19 | + variant="outline-light" |
| 20 | + class="p-2 border-0 d-flex align-items-center justify-content-center" |
| 21 | + style="width: 2rem; height: 2rem;" |
| 22 | + :title="$t('markAllAsRead')" |
| 23 | + @click="handleMarkAllAsRead" |
| 24 | + > |
| 25 | + <font-awesome-icon |
| 26 | + :icon="['fas', 'check-double']" |
| 27 | + class="h6 mb-0 text-primary" |
| 28 | + /> |
| 29 | + </b-button> |
31 | 30 |
|
32 |
| - <li> |
33 |
| - <b-button |
34 |
| - v-b-tooltip.hover |
35 |
| - variant="outline-light" |
36 |
| - class="p-2 border-0 d-flex align-items-center justify-content-center" |
37 |
| - style="width: 2rem; height: 2rem;" |
38 |
| - :title="$t(muted ? 'unmute' : 'mute')" |
39 |
| - @click="toggleMuted" |
40 |
| - > |
41 |
| - <font-awesome-icon |
42 |
| - :icon="['fas', muted ? 'bell-slash' : 'bell']" |
43 |
| - class="h6 mb-0" |
44 |
| - :class="{ 'text-secondary': muted, 'text-primary': !muted }" |
45 |
| - /> |
46 |
| - </b-button> |
47 |
| - </li> |
| 31 | + <b-button |
| 32 | + v-b-tooltip.hover |
| 33 | + variant="outline-light" |
| 34 | + class="p-2 border-0 d-flex align-items-center justify-content-center" |
| 35 | + style="width: 2rem; height: 2rem;" |
| 36 | + :title="$t(muted ? 'unmute' : 'mute')" |
| 37 | + @click="toggleMuted" |
| 38 | + > |
| 39 | + <font-awesome-icon |
| 40 | + :icon="['fas', muted ? 'bell-slash' : 'bell']" |
| 41 | + class="h6 mb-0" |
| 42 | + :class="{ 'text-secondary': muted, 'text-primary': !muted }" |
| 43 | + /> |
| 44 | + </b-button> |
48 | 45 | </div>
|
49 | 46 | </template>
|
50 | 47 |
|
@@ -262,8 +259,6 @@ export default {
|
262 | 259 | },
|
263 | 260 |
|
264 | 261 | loadNotifications () {
|
265 |
| - this.setPageCursor(null) |
266 |
| -
|
267 | 262 | return this.fetchNotifications({ unreadOnly: this.activeTab === 0 })
|
268 | 263 | },
|
269 | 264 |
|
|
0 commit comments