summaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.ts')
-rw-r--r--cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.ts9
1 files changed, 8 insertions, 1 deletions
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;