users.js
This commit is contained in:
parent
2c673f439f
commit
682ad334c1
1 changed files with 2 additions and 2 deletions
|
|
@ -553,9 +553,9 @@ const users = {
|
|||
registerPushNotifications(store) {
|
||||
const token = store.state.currentUser.credentials
|
||||
const vapidPublicKey = useInstanceStore().vapidPublicKey
|
||||
const isEnabled = store.rootState.config.webPushNotifications
|
||||
const isEnabled = useSyncConfigStore().mergedConfig.webPushNotifications
|
||||
const notificationVisibility =
|
||||
store.rootState.config.notificationVisibility
|
||||
useSyncConfigStore().mergedConfig.notificationVisibility
|
||||
|
||||
registerPushNotifications(
|
||||
isEnabled,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue