From d074aefb4ffe8fc7bdb0e5f0afec46f7042a90fe Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 17 Aug 2022 00:48:10 +0300 Subject: List edit UI overhaul --- src/App.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/App.js') 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 }, -- cgit v1.2.3-70-g09d2