refactor: use typeof as an operator
This commit is contained in:
@@ -339,7 +339,7 @@ export default {
|
|||||||
"https://postwoman.apollotv.xyz/",
|
"https://postwoman.apollotv.xyz/",
|
||||||
PROXY_KEY: this.$store.state.postwoman.settings.PROXY_KEY || "",
|
PROXY_KEY: this.$store.state.postwoman.settings.PROXY_KEY || "",
|
||||||
EXTENSIONS_ENABLED:
|
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
|
this.$store.state.postwoman.settings.EXTENSIONS_ENABLED
|
||||||
: true
|
: true
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user