don't use sss inside service because otherwice vite will eat your face

This commit is contained in:
Henry Jameson 2025-03-25 21:26:04 +02:00
commit 671e975364
3 changed files with 12 additions and 7 deletions

View file

@ -1,4 +1,5 @@
import apiService from '../services/api/api.service.js'
import { useServerSideStorageStore } from 'src/stores/serverSideStorage'
import {
isStatusNotification,
@ -112,7 +113,11 @@ export const notifications = {
commit('updateNotificationsMinMaxId', notification.id)
commit('addNewNotifications', { notifications: [notification] })
maybeShowNotification(store, notification)
maybeShowNotification(
store,
Object.values(useServerSideStorageStore().prefsStorage.simple.muteFilters),
notification
)
} else if (notification.seen) {
state.idStore[notification.id].seen = true
}