Split conversation display style into two different settings

linear => linear (now default)
simple_tree => tree / conversationTreeAdvanced=false
tree => tree / conversationTreeAdvanced=true
This commit is contained in:
Tusooa Zhu 2022-03-06 13:57:48 -05:00
parent 9432fcec7d
commit e7f5033c7d
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
5 changed files with 11 additions and 4 deletions

View file

@ -81,10 +81,10 @@ const conversation = {
return this.$store.getters.mergedConfig.conversationDisplay
},
isTreeView () {
return this.displayStyle === 'tree' || this.displayStyle === 'simple_tree'
return !this.isLinearView
},
treeViewIsSimple () {
return this.displayStyle === 'simple_tree'
return !this.$store.getters.mergedConfig.conversationTreeAdvanced
},
isLinearView () {
return this.displayStyle === 'linear'