(ThemeOptions) Fixed: Sidepanel settings are not resetting when layout changes

This commit is contained in:
Sercan Yemen 2018-07-17 13:02:11 +03:00
parent f8292af81e
commit 8454526ef5

View File

@ -82,8 +82,8 @@ export class FuseThemeOptionsComponent implements OnInit, OnDestroy
position : new FormControl()
}),
sidepanel: this._formBuilder.group({
hidden: new FormControl(),
position : new FormControl()
hidden : new FormControl(),
position: new FormControl()
})
}),
customScrollbars: new FormControl()
@ -185,7 +185,7 @@ export class FuseThemeOptionsComponent implements OnInit, OnDestroy
position : 'left',
variant : 'vertical-style-1'
},
toolbar: {
toolbar : {
background: 'mat-white-500-bg',
hidden : false,
position : 'below-static'
@ -194,6 +194,10 @@ export class FuseThemeOptionsComponent implements OnInit, OnDestroy
background: 'mat-fuse-dark-900-bg',
hidden : false,
position : 'below-static'
},
sidepanel: {
hidden : false,
position: 'right'
}
}
});
@ -214,7 +218,7 @@ export class FuseThemeOptionsComponent implements OnInit, OnDestroy
position : 'left',
variant : 'vertical-style-1'
},
toolbar: {
toolbar : {
background: 'mat-white-500-bg',
hidden : false,
position : 'below'
@ -223,6 +227,10 @@ export class FuseThemeOptionsComponent implements OnInit, OnDestroy
background: 'mat-fuse-dark-900-bg',
hidden : false,
position : 'below'
},
sidepanel: {
hidden : false,
position: 'right'
}
}
});
@ -243,7 +251,7 @@ export class FuseThemeOptionsComponent implements OnInit, OnDestroy
position : 'left',
layout : 'vertical-style-1'
},
toolbar: {
toolbar : {
background: 'mat-white-500-bg',
hidden : false,
position : 'above-static'
@ -252,6 +260,10 @@ export class FuseThemeOptionsComponent implements OnInit, OnDestroy
background: 'mat-fuse-dark-900-bg',
hidden : false,
position : 'above-static'
},
sidepanel: {
hidden : false,
position: 'right'
}
}
});
@ -272,7 +284,7 @@ export class FuseThemeOptionsComponent implements OnInit, OnDestroy
position : 'top',
variant : 'vertical-style-1'
},
toolbar: {
toolbar : {
background: 'mat-white-500-bg',
hidden : false,
position : 'above'
@ -281,6 +293,10 @@ export class FuseThemeOptionsComponent implements OnInit, OnDestroy
background: 'mat-fuse-dark-900-bg',
hidden : false,
position : 'above-fixed'
},
sidepanel: {
hidden : false,
position: 'right'
}
}
});