refactor: use typeof as an operator

This commit is contained in:
jamesgeorge007
2020-02-07 14:44:14 +05:30
parent 8b00bb59de
commit a351abd5d9

View File

@@ -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
},