From 22050d0684629bf50dedd9eda20242c6aae62337 Mon Sep 17 00:00:00 2001 From: Lvbo163 Date: Fri, 12 Jan 2018 10:47:38 +0800 Subject: change file encoding change pc to unix Issue-ID: SDC-910 Change-Id: I3fde01a1b8c8daa4ea34622f369fb2e04b59b47f Signed-off-by: Lvbo163 --- .../menus/rest-config/rest-config-list/rest-config-list.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sdc-workflow-designer-ui/src/app/components/menus/rest-config/rest-config-list') 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); } -- cgit 1.2.3-korg