Fallback to simpleTree style

This commit is contained in:
Tusooa Zhu 2021-08-07 19:21:00 -04:00
parent 6c20c5dd52
commit 3d0ebaf54b
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'