refactor: use typeof as an operator
This commit is contained in:
parent
8b00bb59de
commit
a351abd5d9
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue