From cc5fe65d2e756f76f8333ba985d7e147c33bc94f Mon Sep 17 00:00:00 2001 From: Rupinder Date: Mon, 8 Jun 2020 18:21:31 +0530 Subject: added workflow and template tabs Issue-ID: CCSDK-2278 Change-Id: I06a889d63131668c56602e2ce7a316f21b7f890f Signed-off-by: Rupinder --- .../feature-modules/packages/designer/designer.component.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.ts') diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.ts index 9b8781d9b..4f31a08f4 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.ts +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.ts @@ -55,6 +55,7 @@ export class DesignerComponent implements OnInit, OnDestroy { viewedPackage: BluePrintDetailModel = new BluePrintDetailModel(); customActionName: string; showAction: boolean; + cl = 'editBar'; boardGraph: joint.dia.Graph; boardPaper: joint.dia.Paper; @@ -73,11 +74,17 @@ export class DesignerComponent implements OnInit, OnDestroy { this.controllerSideBar = true; this.attributesSideBar = false; this.showAction = false; - this.functionAttributeSidebar = true; + this.functionAttributeSidebar = false; } private _toggleSidebar1() { this.controllerSideBar = !this.controllerSideBar; + if (this.controllerSideBar === false) { + this.cl = 'editBar2'; + } + if (this.controllerSideBar === true) { + this.cl = 'editBar'; + } } private _toggleSidebar2() { this.attributesSideBar = !this.attributesSideBar; -- cgit 1.2.3-korg