fix(editor): fix workflow not stopping on clicking stop button (#4382)

* fix(editor): fix workflow not stopping

* address comment, fix for unsaved workflows
This commit is contained in:
Mutasem Aldmour
2022-10-19 15:20:33 +02:00
committed by GitHub
parent 263794ce40
commit 50c18a789a
4 changed files with 5 additions and 5 deletions

View File

@@ -1231,7 +1231,7 @@ export default mixins(
} catch (error) {
// Execution stop might fail when the execution has already finished. Let's treat this here.
const execution = await this.restApi().getExecution(executionId);
if (execution.finished) {
if (execution?.finished) {
const executedData = {
data: execution.data,
finished: execution.finished,