summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-08-13 13:18:08 +0530
committerArundathi Patil <arundpil@in.ibm.com>2019-08-13 13:18:23 +0530
commit13904e48fc907f4c5013593a60ad6efbfcc42822 (patch)
tree2d5d228f986e147360de868176509080bbf5a205
parentd7f0a4b30391f332e59b71c7bd905a9ccddf828d (diff)
Default mode Change to Form mode
Implemented change to set default mode to designer mode Issue-ID: CCSDK-707 Change-Id: I264a6763f95ed539ca0fce394923d2863081f331 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
-rw-r--r--cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.component.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.component.ts b/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.component.ts
index faf7fbd6c..9aa2deb6d 100644
--- a/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.component.ts
+++ b/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.component.ts
@@ -42,8 +42,8 @@ export class ResourceEditComponent implements OnInit {
resources:IResources;
data:IResources;
rdState: Observable<IResourcesState>;
- designerMode: boolean = false;
- editorMode: boolean = true;
+ designerMode: boolean = true;
+ editorMode: boolean = false;
viewText: string = "Open in Editor Mode";
@ViewChild(JsonEditorComponent) editor: JsonEditorComponent;
options = new JsonEditorOptions();