(FuseConfig) Only reset the layout object on route changes

This commit is contained in:
Sercan Yemen 2018-08-27 12:28:39 +03:00
parent 498b9647e6
commit ecbc370064

View File

@ -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