From ecbc3700641e5829096827a28bf6bdc570381087 Mon Sep 17 00:00:00 2001 From: Sercan Yemen Date: Mon, 27 Aug 2018 12:28:39 +0300 Subject: [PATCH] (FuseConfig) Only reset the layout object on route changes --- src/@fuse/components/theme-options/theme-options.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/@fuse/components/theme-options/theme-options.component.ts b/src/@fuse/components/theme-options/theme-options.component.ts index 7896ca9b..4c5adffd 100644 --- a/src/@fuse/components/theme-options/theme-options.component.ts +++ b/src/@fuse/components/theme-options/theme-options.component.ts @@ -66,6 +66,7 @@ export class FuseThemeOptionsComponent implements OnInit, OnDestroy // noinspection TypeScriptValidateTypes this.form = this._formBuilder.group({ colorTheme : new FormControl(), + customScrollbars: new FormControl(), layout : this._formBuilder.group({ style : new FormControl(), width : new FormControl(), @@ -93,8 +94,7 @@ export class FuseThemeOptionsComponent implements OnInit, OnDestroy hidden : new FormControl(), position: new FormControl() }) - }), - customScrollbars: new FormControl() + }) }); // Subscribe to the config changes