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:
parent
f9e0ecdd0c
commit
14bf5be65f
8 changed files with 52 additions and 31 deletions
|
@ -11,6 +11,7 @@ const defaultValue = {
|
|||
enabled: false,
|
||||
hasNew: false,
|
||||
indicatorEnabled: false,
|
||||
toggleEnabled: () => {},
|
||||
markAsRead: () => {},
|
||||
refresh: () => Promise.resolve() as Promise<unknown>,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue