mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 08:20:13 +01:00
fix(jstheme): use new js-themes API
This commit is contained in:
parent
78c64731c2
commit
d6cef06dcd
3 changed files with 3 additions and 3 deletions
|
|
@ -149,7 +149,7 @@ export class SolarComponent {
|
||||||
};
|
};
|
||||||
|
|
||||||
constructor(private theme: NgaThemeService) {
|
constructor(private theme: NgaThemeService) {
|
||||||
this.theme.getConfig().subscribe(config => {
|
this.theme.getJsTheme().subscribe(config => {
|
||||||
|
|
||||||
const option = Object.assign({}, this.option);
|
const option = Object.assign({}, this.option);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ export class TemperatureComponent {
|
||||||
themeConfig: any = {};
|
themeConfig: any = {};
|
||||||
|
|
||||||
constructor(private theme: NgaThemeService) {
|
constructor(private theme: NgaThemeService) {
|
||||||
this.theme.getConfig().subscribe(config => {
|
this.theme.getJsTheme().subscribe(config => {
|
||||||
this.themeConfig = config;
|
this.themeConfig = config;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -134,7 +134,7 @@ export class TrafficComponent {
|
||||||
};
|
};
|
||||||
|
|
||||||
constructor(private theme: NgaThemeService) {
|
constructor(private theme: NgaThemeService) {
|
||||||
this.theme.getConfig().subscribe(config => {
|
this.theme.getJsTheme().subscribe(config => {
|
||||||
|
|
||||||
// const option = Object.assign({}, this.option);
|
// const option = Object.assign({}, this.option);
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue