1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

notifications: show toggle button on list if notifications disabled

This commit is contained in:
Fedor Katurov 2023-03-16 14:22:52 +06:00
parent f9e0ecdd0c
commit 14bf5be65f
8 changed files with 52 additions and 31 deletions

View file

@ -11,6 +11,7 @@ const defaultValue = {
enabled: false,
hasNew: false,
indicatorEnabled: false,
toggleEnabled: () => {},
markAsRead: () => {},
refresh: () => Promise.resolve() as Promise<unknown>,
};