remove chat mode from thread display settings, instead use dedicated page for chat convos
This commit is contained in:
parent
7b4fef365e
commit
c6ac897802
13 changed files with 303 additions and 249 deletions
|
|
@ -26,16 +26,13 @@ const ScopeSelector = {
|
|||
required: false,
|
||||
type: String,
|
||||
},
|
||||
onScopeChange: {
|
||||
required: true,
|
||||
type: Function,
|
||||
},
|
||||
unstyled: {
|
||||
required: false,
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
},
|
||||
emits: ['change'],
|
||||
data() {
|
||||
return {
|
||||
currentScope: this.initialScope,
|
||||
|
|
@ -84,9 +81,14 @@ const ScopeSelector = {
|
|||
},
|
||||
changeVis(scope) {
|
||||
this.currentScope = scope
|
||||
this.onScopeChange && this.onScopeChange(scope)
|
||||
},
|
||||
this.$emit('change', scope)
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
originalScope(newVal) {
|
||||
this.currentScope = newVal
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default ScopeSelector
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue