diff options
author | 2020-06-24 11:51:51 +0530 | |
---|---|---|
committer | 2020-06-26 15:18:21 +0000 | |
commit | 1d0747ec5b3b7194d7f4bc056ab3655e117ccb09 (patch) | |
tree | f3a332302cf909551ecbb765848a589e54eb3ffe /cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/source-view/source-view.component.ts | |
parent | 7434214a2126de38769b35896d8e776aeb8fded3 (diff) |
added navbar in source-view component
Issue-ID: CCSDK-2283
Change-Id: I4903ddf8c29727dadf6eaf303f68537aa6f793b8
Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
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 487c19ad1..a092e0c0f 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 { private ngUnsubscribe = new Subject(); viewedPackage: BluePrintDetailModel = new BluePrintDetailModel(); public customActionName = ''; + cl = 'editBar'; constructor(private store: DesignerStore, private packageCreationUtils: PackageCreationUtils, @@ -29,6 +30,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( |