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

notifications: added boris notifications

This commit is contained in:
Fedor Katurov 2023-03-18 16:09:53 +06:00
parent d56bfe968d
commit 2ecda12513
13 changed files with 61 additions and 22 deletions

View file

@ -54,5 +54,7 @@ export const useNotificationSettings = () => {
update,
loading: isLoading,
toggleEnabled,
lastSeen,
lastDate,
};
};

View file

@ -10,6 +10,7 @@ import { useFormAutoSubmit } from '../useFormAutosubmit';
const validationSchema = object({
enabled: boolean().default(false),
flow: boolean().default(false),
boris: boolean().default(false),
comments: boolean().default(false),
sendTelegram: boolean().default(false),
showIndicator: boolean().default(false),