Fallback to simpleTree style

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

View file

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