aboutsummaryrefslogtreecommitdiff
path: root/src/components/settings_modal/tabs/general_tab.js
diff options
context:
space:
mode:
authorEris <femmediscord@gmail.com>2021-06-15 00:59:36 +0000
committerEris <femmediscord@gmail.com>2021-06-15 00:59:36 +0000
commit7e3393b5a2eda7f696781853123de8df965ffbf2 (patch)
tree2e230034489ab5d4a27e13d40b0e0931b104ac1a /src/components/settings_modal/tabs/general_tab.js
parent5047663c513841ea708f58e672bf193a55a96a82 (diff)
Use cleaner instance config check for shoutbox setting
Diffstat (limited to 'src/components/settings_modal/tabs/general_tab.js')
-rw-r--r--src/components/settings_modal/tabs/general_tab.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/settings_modal/tabs/general_tab.js b/src/components/settings_modal/tabs/general_tab.js
index be0fc768..eeda61bf 100644
--- a/src/components/settings_modal/tabs/general_tab.js
+++ b/src/components/settings_modal/tabs/general_tab.js
@@ -50,7 +50,7 @@ const GeneralTab = {
return this.$store.state.instance.background &&
!this.$store.state.users.currentUser.background_image
},
- shout () { return this.$store.state.shout.channel.state === 'joined' },
+ instanceShoutboxPresent () { return this.$store.state.instance.shoutAvailable },
...SharedComputedObject()
}
}