Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo committed Sep 29, 2023
1 parent e5c339b commit 5edc885
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/pages/timeline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
6 changes: 6 additions & 0 deletions packages/frontend/src/ui/deck/tl-column.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ watch($$(withReplies), v => {
});
});
watch($$(onlyFiles), v => {
updateColumn(props.column.id, {
onlyFiles: v,
});
});
onMounted(() => {
if (props.column.tl == null) {
setType();
Expand Down

0 comments on commit 5edc885

Please sign in to comment.