made it work
This commit is contained in:
parent
6967151275
commit
496099bb00
4 changed files with 44 additions and 30 deletions
|
|
@ -81,15 +81,21 @@ const Notifications = {
|
|||
filteredNotifications() {
|
||||
if (this.unseenAtTop) {
|
||||
return [
|
||||
...filteredNotificationsFromStore(this.$store).filter((n) =>
|
||||
this.shouldShowUnseen(n),
|
||||
),
|
||||
...filteredNotificationsFromStore(this.$store).filter(
|
||||
(n) => !this.shouldShowUnseen(n),
|
||||
),
|
||||
...filteredNotificationsFromStore(
|
||||
this.$store,
|
||||
useSyncConfigStore().mergedConfig.notificationVisibility,
|
||||
).filter((n) => this.shouldShowUnseen(n)),
|
||||
...filteredNotificationsFromStore(
|
||||
this.$store,
|
||||
useSyncConfigStore().mergedConfig.notificationVisibility,
|
||||
).filter((n) => !this.shouldShowUnseen(n)),
|
||||
]
|
||||
} else {
|
||||
return filteredNotificationsFromStore(this.$store, this.filterMode)
|
||||
return filteredNotificationsFromStore(
|
||||
this.$store,
|
||||
useSyncConfigStore().mergedConfig.notificationVisibility,
|
||||
this.filterMode,
|
||||
)
|
||||
}
|
||||
},
|
||||
unseenCountBadgeText() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue