diff options
| author | Henry Jameson <me@hjkos.com> | 2022-04-11 23:30:41 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-04-11 23:30:41 +0300 |
| commit | 4f617a7293922fdce85462009feb7e52770a7e62 (patch) | |
| tree | a61d07827d28ba73b6c50abfa902fae614545c18 /src/App.js | |
| parent | df18a74adc4dbad7ca0daf38c041f9ac482a29c8 (diff) | |
fix for chat shadow
Diffstat (limited to 'src/App.js')
| -rw-r--r-- | src/App.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -82,8 +82,11 @@ export default { !this.$store.getters.mergedConfig.hideISP && this.$store.state.instance.instanceSpecificPanelContent }, + isChats () { + return this.$route.name === 'chat' || this.$route.name === 'chats' + }, newPostButtonShown () { - if (this.$route.name === 'chat' || this.$route.name === 'chats') return false + if (this.isChats) return false return this.$store.getters.mergedConfig.alwaysShowNewPostButton || this.layoutType === 'mobile' }, showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel }, |
