Skip to content

Commit

Permalink
Removed: unwanted check for qoh value before updating(#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
ymaheshwari1 committed Dec 26, 2023
1 parent 3e05d9e commit ca5b0ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit ca5b0ac

Please sign in to comment.