diff --git a/site/model/items.js b/site/model/items.js index 5ba3adb..45a0c70 100644 --- a/site/model/items.js +++ b/site/model/items.js @@ -222,7 +222,7 @@ class Items extends Model { let start = performance.now(); const settings = new Settings(); const compressedItemsPerStore = []; - log(`Items - load using JSON: ${this.jsonData}`); + log(`Items - load using JSON: ${this.useJson}`); for (const store of STORE_KEYS) { compressedItemsPerStore.push( new Promise(async (resolve) => { diff --git a/site/model/settings.js b/site/model/settings.js index 8eca5c6..4f03919 100644 --- a/site/model/settings.js +++ b/site/model/settings.js @@ -10,7 +10,7 @@ class Settings extends Model { STORE_KEYS.forEach((store) => { this[store] = stores[store].defaultChecked; }); - this.jsonData = true; + this.useJson = true; let settings = localStorage.getItem("settings"); if (settings) { @@ -19,8 +19,8 @@ class Settings extends Model { this[prop] = settings[prop]; } } - this.jsonData = true; - log(`Settings - using JSON: ${this.jsonData}`); + this.useJson = true; + log(`Settings - using JSON: ${this.useJson}`); } save() {