cleanup and fixes

This commit is contained in:
Henry Jameson 2025-02-03 00:14:44 +02:00
commit 7d19cc2d53
17 changed files with 80 additions and 57 deletions

View file

@ -9,6 +9,8 @@ import {
faBullhorn
} from '@fortawesome/free-solid-svg-icons'
import { useInterfaceStore } from '../../stores/interface'
library.add(
faUserPlus,
faComments,
@ -42,7 +44,7 @@ const ExtraNotifications = {
},
methods: {
openNotificationSettings () {
return this.$store.dispatch('openSettingsModalTab', 'notifications')
return useInterfaceStore().openSettingsModalTab('notifications')
},
dismissConfigurationTip () {
return this.$store.dispatch('setOption', { name: 'showExtraNotificationsTip', value: false })