remove chat mode from thread display settings, instead use dedicated page for chat convos

This commit is contained in:
Henry Jameson 2026-07-24 16:22:56 +03:00
commit c6ac897802
13 changed files with 303 additions and 249 deletions

View file

@ -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