From 492ada2d88b4d3e4a43a8747d3468dcf5f496d8c Mon Sep 17 00:00:00 2001 From: Tatiana Lopaeva Date: Mon, 22 May 2023 17:09:16 +0300 Subject: [PATCH] Web: Removed quota overwrite when loading a license. --- packages/common/store/AuthStore.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/common/store/AuthStore.js b/packages/common/store/AuthStore.js index 6c3c5338ed..55ccc93d5a 100644 --- a/packages/common/store/AuthStore.js +++ b/packages/common/store/AuthStore.js @@ -50,6 +50,8 @@ class AuthStore { const { socketHelper } = this.settingsStore; socketHelper.on("s:change-quota-used-value", ({ featureId, value }) => { + if (this.settingsStore.standalone) return; + console.log(`[WS] change-quota-used-value ${featureId}:${value}`); runInAction(() => { @@ -58,6 +60,8 @@ class AuthStore { }); socketHelper.on("s:change-quota-feature-value", ({ featureId, value }) => { + if (this.settingsStore.standalone) return; + console.log(`[WS] change-quota-feature-value ${featureId}:${value}`); runInAction(() => {