Fixed an issue with switching the preset themes

This commit is contained in:
Jamie 2017-11-28 08:51:07 +00:00
commit 8cbf2ab707

View file

@ -31,7 +31,7 @@ export class CustomizationComponent implements OnInit {
} }
} }
if(x.hasPresetTheme) { if(x.hasPresetTheme) {
this.themes.unshift({displayName: x.presetThemeDisplayName, fullName: x.presetThemeName, url: "", version: x.presetThemeVersion}); this.themes.unshift({displayName: x.presetThemeDisplayName, fullName: x.presetThemeName, url: existingTheme.url, version: x.presetThemeVersion});
this.themes.unshift({displayName: "None", fullName: "None", url: "", version: ""}); this.themes.unshift({displayName: "None", fullName: "None", url: "", version: ""});
} else { } else {
this.themes.unshift({displayName: "Please Select", fullName: "-1", url: "-1", version: ""}); this.themes.unshift({displayName: "Please Select", fullName: "-1", url: "-1", version: ""});