refactor: use typeof as an operator
This commit is contained in:
@@ -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
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user