feat: get notify from global info store

This commit is contained in:
amhsirak
2025-01-01 22:55:33 +05:30
parent a3337d7fcc
commit 24915a9341
2 changed files with 1 additions and 2 deletions

View File

@@ -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",

View File

@@ -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) {