fix
This commit is contained in:
parent
e5c339b86a
commit
5edc885c22
2 changed files with 7 additions and 1 deletions
|
@ -151,7 +151,7 @@ const headerActions = $computed(() => [{
|
||||||
ref: $$(withReplies),
|
ref: $$(withReplies),
|
||||||
}, {
|
}, {
|
||||||
type: 'switch',
|
type: 'switch',
|
||||||
text: i18n.ts.onlyFiles,
|
text: i18n.ts.fileAttachedOnly,
|
||||||
icon: 'ti ti-photo',
|
icon: 'ti ti-photo',
|
||||||
ref: $$(onlyFiles),
|
ref: $$(onlyFiles),
|
||||||
}], ev.currentTarget ?? ev.target);
|
}], ev.currentTarget ?? ev.target);
|
||||||
|
|
|
@ -67,6 +67,12 @@ watch($$(withReplies), v => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
watch($$(onlyFiles), v => {
|
||||||
|
updateColumn(props.column.id, {
|
||||||
|
onlyFiles: v,
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
if (props.column.tl == null) {
|
if (props.column.tl == null) {
|
||||||
setType();
|
setType();
|
||||||
|
|
Loading…
Reference in a new issue