From ca5b0ac25029dc83a4618aa18231fbde96eca2ff Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Tue, 26 Dec 2023 14:52:58 +0530 Subject: [PATCH] Removed: unwanted check for qoh value before updating(#243) --- src/views/Settings.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Settings.vue b/src/views/Settings.vue index 93e38014..01323796 100644 --- a/src/views/Settings.vue +++ b/src/views/Settings.vue @@ -163,7 +163,7 @@ export default defineComponent({ }, async updateViewQOHConfig(config: any, value: any) { // When storing boolean values, it is stored as string. Further comparison needs conversion - if (config.settingValue === value || (typeof value === 'boolean' && (config.settingValue == 'true') === value)) { + if (typeof value === 'boolean' && (config.settingValue == 'true') === value) { return; } const params = {