From 82d6b6638638a07b1c0583d807787743b682cb74 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 26 Aug 2026 17:39:37 +0300 Subject: [PATCH] fix plugin early exit --- src/lib/push_notifications_plugin.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/push_notifications_plugin.js b/src/lib/push_notifications_plugin.js index b3f6885d7..ad546922d 100644 --- a/src/lib/push_notifications_plugin.js +++ b/src/lib/push_notifications_plugin.js @@ -37,9 +37,7 @@ export const piniaPushNotificationsPlugin = ({ store }) => { if (store.$id === 'interface') { if (actionName === 'setNotificationPermission') { permissionGranted = args[0] === 'granted' - } else if (actionName === 'setLoginStatus') { - user = args[0] - } else { + } else if (actionName !== 'onLogin' && actionName !== 'onLogout') { return } } else if (store.$id === 'sync_config') {