diff --git a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue index 0ec0ed30c3..814613f576 100644 --- a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue +++ b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue @@ -434,10 +434,12 @@ export default { principal: [], environmentId: [], projectEnv: [], + projectId: '' }, }; }, created() { + this.projectId = getCurrentProjectID(); if(!this.projectName || this.projectName === ""){ this.getProjectName(); } @@ -481,9 +483,6 @@ export default { isNotRunning() { return "Running" !== this.report.status; }, - projectId() { - return getCurrentProjectID(); - }, }, methods: { getProjectName (){