diff --git a/src/lib/helpers/notifications.ts b/src/lib/helpers/notifications.ts index 0b0956b70..706f67ecd 100644 --- a/src/lib/helpers/notifications.ts +++ b/src/lib/helpers/notifications.ts @@ -18,7 +18,7 @@ const userPreferences = () => get(user)?.prefs; const notificationPrefs = (): Record => { const prefs = userPreferences(); - console.log(prefs); + // due to php backend, empty object can be returnd as an empty array if (!prefs?.notificationPrefs || Array.isArray(prefs.notificationPrefs)) { return {};