Fallback to simpleTree style

This commit is contained in:
Tusooa Zhu 2021-08-07 19:21:00 -04:00
parent 6b990ba368
commit d7da9f80a7
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224

View file

@ -77,7 +77,7 @@ const conversation = {
return 4 return 4
}, },
displayStyle () { displayStyle () {
return this.$store.state.config.conversationDisplay return this.$store.state.config.conversationDisplay || 'simple_tree'
}, },
isTreeView () { isTreeView () {
return this.displayStyle === 'tree' || this.displayStyle === 'simple_tree' return this.displayStyle === 'tree' || this.displayStyle === 'simple_tree'