feat: robot interpretation notify
This commit is contained in:
@@ -67,9 +67,9 @@ export const MainPage = ({ handleEditRecording }: MainPageProps) => {
|
|||||||
interpretStoredRecording(runId).then(async (interpretation: boolean) => {
|
interpretStoredRecording(runId).then(async (interpretation: boolean) => {
|
||||||
if (!aborted) {
|
if (!aborted) {
|
||||||
if (interpretation) {
|
if (interpretation) {
|
||||||
notify('success', `Interpretation of ${runningRecordingName} succeeded`);
|
notify('success', `Interpretation of robot ${runningRecordingName} succeeded`);
|
||||||
} else {
|
} else {
|
||||||
notify('success', `Failed to interpret ${runningRecordingName} recording`);
|
notify('success', `Failed to interpret ${runningRecordingName} robot`);
|
||||||
// destroy the created browser
|
// destroy the created browser
|
||||||
await stopRecording(browserId);
|
await stopRecording(browserId);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user