diff options
author | 2020-06-30 13:38:03 +0000 | |
---|---|---|
committer | 2020-06-30 13:38:03 +0000 | |
commit | fbbdf23b57c799362a368a98ae53290d5dc48909 (patch) | |
tree | 3eb4d8e2db05578a627a3cc12b73356b4aba0eb9 /cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/source-view/source-view.component.ts | |
parent | 34791d15a234063468d6bb358357f290b7d0fd7b (diff) | |
parent | 1d0747ec5b3b7194d7f4bc056ab3655e117ccb09 (diff) |
Merge "added navbar in source-view component"
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/source-view/source-view.component.ts')
-rw-r--r-- | cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/source-view/source-view.component.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/source-view/source-view.component.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/source-view/source-view.component.ts index 033e80081..69401928f 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/source-view/source-view.component.ts +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/source-view/source-view.component.ts @@ -21,6 +21,7 @@ export class DesignerSourceViewComponent implements OnInit, OnDestroy { ngUnsubscribe = new Subject(); viewedPackage: BluePrintDetailModel = new BluePrintDetailModel(); public customActionName = ''; + cl = 'editBar'; constructor( private store: DesignerStore, @@ -30,6 +31,15 @@ export class DesignerSourceViewComponent implements OnInit, OnDestroy { private sourceViewService: SourceViewService) { this.controllerSideBar = true; } + private _toggleSidebar1() { + this.controllerSideBar = !this.controllerSideBar; + if (this.controllerSideBar === false) { + this.cl = 'editBar2'; + } + if (this.controllerSideBar === true) { + this.cl = 'editBar'; + } + } ngOnInit() { this.store.state$.subscribe( |