feat: robot schedule notify

This commit is contained in:
karishmas6
2024-11-29 17:04:34 +05:30
parent 428034f48c
commit e195f9e7da

View File

@@ -113,9 +113,9 @@ export const MainPage = ({ handleEditRecording }: MainPageProps) => {
scheduleStoredRecording(runningRecordingId, settings)
.then(({ message, runId }: ScheduleRunResponse) => {
if (message === 'success') {
notify('success', `Recording ${runningRecordingName} scheduled successfully`);
notify('success', `Robot ${runningRecordingName} scheduled successfully`);
} else {
notify('error', `Failed to schedule recording ${runningRecordingName}`);
notify('error', `Failed to schedule robot ${runningRecordingName}`);
}
});
}