aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-08-17 00:48:10 +0300
committerHenry Jameson <me@hjkos.com>2022-08-17 00:48:10 +0300
commitd074aefb4ffe8fc7bdb0e5f0afec46f7042a90fe (patch)
treef8432667b0bee210551d2e80bda81f3b90a8afdb /src/App.js
parent38bd59ceb0182de15e2e97d750df59ad53dfa51a (diff)
List edit UI overhaul
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 f5bd7e2e..12a12f71 100644
--- a/src/App.js
+++ b/src/App.js
@@ -85,8 +85,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 },