diff --git a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue index 6763fe9b5b..f36f5f1846 100644 --- a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue +++ b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue @@ -521,8 +521,9 @@ this.$refs.apiImport.open(); break; } - - this.selectedNode.expanded = true; + if (this.selectedNode) { + this.selectedNode.expanded = true; + } this.sort(); }, nodeClick(data, node) { diff --git a/frontend/src/business/components/api/automation/scenario/LoopController.vue b/frontend/src/business/components/api/automation/scenario/LoopController.vue index c6b2864741..79f126c779 100644 --- a/frontend/src/business/components/api/automation/scenario/LoopController.vue +++ b/frontend/src/business/components/api/automation/scenario/LoopController.vue @@ -5,8 +5,8 @@ @remove="remove" :data="controller" :draggable="true" - color="#015478" - background-color="#E6EEF2" + color="#02A7F0" + background-color="#F4F4F5" :title="$t('api_test.automation.loop_controller')"> -