Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

refactor: use typeof as an operator

jamesgeorge007a351abd5d9ba
diff --git a/pages/settings.vue b/pages/settings.vue
index 8300bb54c..29bca1f7f 100644
--- a/pages/settings.vue
+++ b/pages/settings.vue
@@ -339,7 +339,7 @@ export default {
"https://postwoman.apollotv.xyz/",
PROXY_KEY: this.$store.state.postwoman.settings.PROXY_KEY || "",
EXTENSIONS_ENABLED:
- (typeof(this.$store.state.postwoman.settings.EXTENSIONS_ENABLED) !== 'undefined') ?
+ (typeof this.$store.state.postwoman.settings.EXTENSIONS_ENABLED !== 'undefined') ?
this.$store.state.postwoman.settings.EXTENSIONS_ENABLED
: true
},