feat: get notify from global info store
This commit is contained in:
@@ -46,7 +46,6 @@
|
|||||||
"jwt-decode": "^4.0.0",
|
"jwt-decode": "^4.0.0",
|
||||||
"loglevel": "^1.8.0",
|
"loglevel": "^1.8.0",
|
||||||
"loglevel-plugin-remote": "^0.6.8",
|
"loglevel-plugin-remote": "^0.6.8",
|
||||||
"maxun-core": "^0.0.7",
|
|
||||||
"minio": "^8.0.1",
|
"minio": "^8.0.1",
|
||||||
"moment-timezone": "^0.5.45",
|
"moment-timezone": "^0.5.45",
|
||||||
"node-cron": "^3.0.3",
|
"node-cron": "^3.0.3",
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ export const ScheduleSettingsModal = ({ isOpen, handleStart, handleClose, initia
|
|||||||
'SUNDAY'
|
'SUNDAY'
|
||||||
];
|
];
|
||||||
|
|
||||||
const { recordingId } = useGlobalInfoStore();
|
const { recordingId, notify } = useGlobalInfoStore();
|
||||||
|
|
||||||
const deleteRobotSchedule = () => {
|
const deleteRobotSchedule = () => {
|
||||||
if (recordingId) {
|
if (recordingId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user