From c3596e827acc6c79a9ad2d702b2e5fe956f9fcfc Mon Sep 17 00:00:00 2001 From: MathieuC Date: Sun, 16 May 2021 19:58:01 +0200 Subject: [PATCH] fix bug during checking for updates during first run --- packages/ExtensionStore/storeui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ExtensionStore/storeui.js b/packages/ExtensionStore/storeui.js index de46401..f77b113 100644 --- a/packages/ExtensionStore/storeui.js +++ b/packages/ExtensionStore/storeui.js @@ -162,7 +162,7 @@ StoreUI.prototype.getInstalledVersion = function(){ var currentVersion = installedStore.version; }else{ // in case of missing list file, we find out the current version by parsing the json ? - var json = store.localPackage; + var json = this.store.localPackage; if (!json) throw new Error("Invalid store tbpackage.json") var currentVersion = json.version;