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),
|
||||
}, {
|
||||
type: 'switch',
|
||||
text: i18n.ts.onlyFiles,
|
||||
text: i18n.ts.fileAttachedOnly,
|
||||
icon: 'ti ti-photo',
|
||||
ref: $$(onlyFiles),
|
||||
}], ev.currentTarget ?? ev.target);
|
||||
|
|
|
@ -67,6 +67,12 @@ watch($$(withReplies), v => {
|
|||
});
|
||||
});
|
||||
|
||||
watch($$(onlyFiles), v => {
|
||||
updateColumn(props.column.id, {
|
||||
onlyFiles: v,
|
||||
});
|
||||
});
|
||||
|
||||
onMounted(() => {
|
||||
if (props.column.tl == null) {
|
||||
setType();
|
||||
|
|
Loading…
Reference in a new issue