feat: notify on schedule delete

This commit is contained in:
amhsirak
2025-01-01 22:57:23 +05:30
parent 24915a9341
commit 8c2b92483b

View File

@@ -85,6 +85,7 @@ export const ScheduleSettingsModal = ({ isOpen, handleStart, handleClose, initia
if (recordingId) { if (recordingId) {
deleteSchedule(recordingId); deleteSchedule(recordingId);
setSchedule(null); setSchedule(null);
notify('success', t('Schedule deleted successfully'));
} else { } else {
console.error('No recording id provided'); console.error('No recording id provided');
} }