fix(jstheme): use new js-themes API

This commit is contained in:
Dmitry Nehaychik 2017-07-20 12:28:25 +03:00
parent 78c64731c2
commit d6cef06dcd
3 changed files with 3 additions and 3 deletions

View file

@ -149,7 +149,7 @@ export class SolarComponent {
};
constructor(private theme: NgaThemeService) {
this.theme.getConfig().subscribe(config => {
this.theme.getJsTheme().subscribe(config => {
const option = Object.assign({}, this.option);

View file

@ -19,7 +19,7 @@ export class TemperatureComponent {
themeConfig: any = {};
constructor(private theme: NgaThemeService) {
this.theme.getConfig().subscribe(config => {
this.theme.getJsTheme().subscribe(config => {
this.themeConfig = config;
});
}

View file

@ -134,7 +134,7 @@ export class TrafficComponent {
};
constructor(private theme: NgaThemeService) {
this.theme.getConfig().subscribe(config => {
this.theme.getJsTheme().subscribe(config => {
// const option = Object.assign({}, this.option);
//