aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authortusooa <tusooa@kazv.moe>2022-08-30 00:14:30 +0000
committertusooa <tusooa@kazv.moe>2022-08-30 00:14:30 +0000
commit8b25febe36a97d113c846928dab22ab36158ee07 (patch)
treef6f63b05e4bbc9d17258a4a559a2dc1970bbf047 /src/App.js
parent3b6c31f3b3d2326ffbe258c826f6dbd3f5374cf2 (diff)
parentdbb6f224425e059e2edc6018d0b009cc87a0aea4 (diff)
Merge branch 'navigation-update' into 'develop'
Navigation update + preferences storage (and some minor fixes) See merge request pleroma/pleroma-fe!1592
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/App.js b/src/App.js
index d1ad16d5..18dd61f2 100644
--- a/src/App.js
+++ b/src/App.js
@@ -92,8 +92,12 @@ export default {
isChats () {
return this.$route.name === 'chat' || this.$route.name === 'chats'
},
+ isListEdit () {
+ return this.$route.name === 'lists-edit'
+ },
newPostButtonShown () {
if (this.isChats) return false
+ if (this.isListEdit) return false
return this.$store.getters.mergedConfig.alwaysShowNewPostButton || this.layoutType === 'mobile'
},
showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel },