diff --git a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue index cd9395df30..1fe601ca3b 100644 --- a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue +++ b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue @@ -2127,7 +2127,11 @@ export default { this.recursionDelete(item, this.scenarioDefinition); }); this.sort(); - this.forceRerender(); + if (this.scenarioDefinition.length <= 1) { + this.cancelBatchProcessing(); + } else { + this.forceRerender(); + } } } });