Small fixes for the GRB theme and value substitution

This commit is contained in:
Pieter Vander Vennet 2020-08-27 00:08:00 +02:00
parent 328dc5577c
commit 71f4d4091e
17 changed files with 798 additions and 74 deletions

View file

@ -24,7 +24,7 @@ export class State {
// The singleton of the global state
public static state: State;
public static vNumber = "0.0.6f";
public static vNumber = "0.0.7";
// The user journey states thresholds when a new feature gets unlocked
public static userJourney = {
@ -182,7 +182,7 @@ export class State {
[], layers => Utils.Dedup(layers)?.join(";")
);
this.installedThemes = this.osmConnection._preferencesHandler.preferences.map<{ layout: Layout, definition: string }[]>(allPreferences => {
this.installedThemes = this.osmConnection.preferencesHandler.preferences.map<{ layout: Layout, definition: string }[]>(allPreferences => {
const installedThemes: { layout: Layout, definition: string }[] = [];
if (allPreferences === undefined) {
return installedThemes;