diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-09-29 17:05:35 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-09-29 17:05:35 +0900 |
| commit | 5edc885c22c9c94fc6c9b470962d7d98494b036f (patch) | |
| tree | e60179e48010b0a389f87687e934f71ead92b27f | |
| parent | enhance(frontend): タイムラインでファイルが添付されたノー... (diff) | |
| download | misskey-5edc885c22c9c94fc6c9b470962d7d98494b036f.tar.gz misskey-5edc885c22c9c94fc6c9b470962d7d98494b036f.tar.bz2 misskey-5edc885c22c9c94fc6c9b470962d7d98494b036f.zip | |
fix
| -rw-r--r-- | packages/frontend/src/pages/timeline.vue | 2 | ||||
| -rw-r--r-- | packages/frontend/src/ui/deck/tl-column.vue | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/packages/frontend/src/pages/timeline.vue b/packages/frontend/src/pages/timeline.vue index 3c29ccdce7..5bad689aee 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 b6dc6c7f21..aad73d73a1 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(); |