List edit UI overhaul

This commit is contained in:
Henry Jameson 2022-08-17 00:48:10 +03:00
commit d074aefb4f
9 changed files with 253 additions and 97 deletions

View file

@ -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 },