diff --git a/packages/frontend/src/pages/timeline.vue b/packages/frontend/src/pages/timeline.vue index 3c29ccdce..5bad689ae 100644 --- a/packages/frontend/src/pages/timeline.vue +++ b/packages/frontend/src/pages/timeline.vue @@ -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); diff --git a/packages/frontend/src/ui/deck/tl-column.vue b/packages/frontend/src/ui/deck/tl-column.vue index b6dc6c7f2..aad73d73a 100644 --- a/packages/frontend/src/ui/deck/tl-column.vue +++ b/packages/frontend/src/ui/deck/tl-column.vue @@ -67,6 +67,12 @@ watch($$(withReplies), v => { }); }); +watch($$(onlyFiles), v => { + updateColumn(props.column.id, { + onlyFiles: v, + }); +}); + onMounted(() => { if (props.column.tl == null) { setType();