feat: robot interpretation notify

This commit is contained in:
karishmas6
2024-11-29 17:03:10 +05:30
parent 834e87c413
commit 46641a285a

View File

@@ -49,10 +49,10 @@ export const MainPage = ({ handleEditRecording }: MainPageProps) => {
aborted = true;
notifyAboutAbort(runId).then(async (response) => {
if (response) {
notify('success', `Interpretation of ${runningRecordingName} aborted successfully`);
notify('success', `Interpretation of robot ${runningRecordingName} aborted successfully`);
await stopRecording(ids.browserId);
} else {
notify('error', `Failed to abort the interpretation ${runningRecordingName} recording`);
notify('error', `Failed to abort the interpretation of ${runningRecordingName} robot`);
}
})
}