diff options
Diffstat (limited to 'sdc-workflow-designer-ui/src/app/components/menus')
-rw-r--r-- | sdc-workflow-designer-ui/src/app/components/menus/rest-config/rest-config-list/rest-config-list.component.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sdc-workflow-designer-ui/src/app/components/menus/rest-config/rest-config-list/rest-config-list.component.ts b/sdc-workflow-designer-ui/src/app/components/menus/rest-config/rest-config-list/rest-config-list.component.ts index 59c9c9af..43120e85 100644 --- a/sdc-workflow-designer-ui/src/app/components/menus/rest-config/rest-config-list/rest-config-list.component.ts +++ b/sdc-workflow-designer-ui/src/app/components/menus/rest-config/rest-config-list/rest-config-list.component.ts @@ -36,7 +36,9 @@ export class RestConfigListComponent { } public addRestConfig() { - const restConfig = this.restService.addRestConfig(); + + const restConfig = this.restService.newRestConfig(); + this.restService.addRestConfig(restConfig); this.onConfigSelected(restConfig); } |