1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-27 14:28:53 +09:00
This commit is contained in:
syuilo 2023-09-29 17:05:35 +09:00
parent e5c339b86a
commit 5edc885c22
2 changed files with 7 additions and 1 deletions

View File

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

View File

@ -67,6 +67,12 @@ watch($$(withReplies), v => {
});
});
watch($$(onlyFiles), v => {
updateColumn(props.column.id, {
onlyFiles: v,
});
});
onMounted(() => {
if (props.column.tl == null) {
setType();