diff --git a/src/@fuse/components/theme-options/theme-options.component.ts b/src/@fuse/components/theme-options/theme-options.component.ts index 3cb4859c..ebfbcac5 100644 --- a/src/@fuse/components/theme-options/theme-options.component.ts +++ b/src/@fuse/components/theme-options/theme-options.component.ts @@ -130,7 +130,7 @@ export class FuseThemeOptionsComponent implements OnInit, OnDestroy 'type' : 'item', 'icon' : 'settings', 'function': () => { - this._toggleSidebarOpen('themeOptionsPanel'); + this.toggleSidebarOpen('themeOptionsPanel'); } } ] @@ -281,13 +281,16 @@ export class FuseThemeOptionsComponent implements OnInit, OnDestroy } } + // ----------------------------------------------------------------------------------------------------- + // @ Public methods + // ----------------------------------------------------------------------------------------------------- + /** * Toggle sidebar open * * @param key - * @private */ - private _toggleSidebarOpen(key): void + toggleSidebarOpen(key): void { this._fuseSidebarService.getSidebar(key).toggleOpen(); } diff --git a/src/app/app.component.html b/src/app/app.component.html index 950d5f1a..b1bd2000 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -20,7 +20,7 @@ diff --git a/src/app/app.component.ts b/src/app/app.component.ts index a27d185a..685ad80e 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -98,16 +98,15 @@ export class AppComponent implements OnInit, OnDestroy } // ----------------------------------------------------------------------------------------------------- - // @ Private methods + // @ Public methods // ----------------------------------------------------------------------------------------------------- /** * Toggle sidebar open * * @param key - * @private */ - private _toggleSidebarOpen(key): void + private toggleSidebarOpen(key): void { this._fuseSidebarService.getSidebar(key).toggleOpen(); } diff --git a/src/app/layout/components/toolbar/toolbar.component.html b/src/app/layout/components/toolbar/toolbar.component.html index 8de3436e..e1eeefc1 100644 --- a/src/app/layout/components/toolbar/toolbar.component.html +++ b/src/app/layout/components/toolbar/toolbar.component.html @@ -13,7 +13,7 @@
-