diff --git a/frontend/src/business/components/api/automation/scenario/common/RunMode.vue b/frontend/src/business/components/api/automation/scenario/common/RunMode.vue index 5f4c9e996c..f748b545cf 100644 --- a/frontend/src/business/components/api/automation/scenario/common/RunMode.vue +++ b/frontend/src/business/components/api/automation/scenario/common/RunMode.vue @@ -76,6 +76,19 @@ export default { }, }; }, + watch:{ + 'runConfig.runWithinResourcePool'(){ + if(!this.runConfig.runWithinResourcePool){ + this.runConfig = { + mode: this.runConfig.mode, + reportType: "iddReport", + reportName: "", + runWithinResourcePool: false, + resourcePoolId: null, + }; + } + } + }, methods: { open() { this.runModeVisible = true; diff --git a/frontend/src/business/components/track/plan/common/PlanRunMode.vue b/frontend/src/business/components/track/plan/common/PlanRunMode.vue index 410de82f4d..8dbcb24941 100644 --- a/frontend/src/business/components/track/plan/common/PlanRunMode.vue +++ b/frontend/src/business/components/track/plan/common/PlanRunMode.vue @@ -86,6 +86,19 @@ export default { }, }; }, + watch:{ + 'runConfig.runWithinResourcePool'(){ + if(!this.runConfig.runWithinResourcePool){ + this.runConfig = { + mode: this.runConfig.mode, + reportType: "iddReport", + reportName: "", + runWithinResourcePool: false, + resourcePoolId: null, + }; + } + } + }, methods: { open(testType) { this.runModeVisible = true;