summaryrefslogtreecommitdiff
path: root/packages/frontend/src
diff options
context:
space:
mode:
author_ <phy.public@gmail.com>2024-01-07 09:57:01 +0900
committerGitHub <noreply@github.com>2024-01-07 09:57:01 +0900
commitf2dee7b25eb473796ff77e2abfae88f174fd5b90 (patch)
tree1e917b5e0020171058ea6ffac66a098feaa9148a /packages/frontend/src
parentMerge branch 'develop' of https://github.com/misskey-dev/misskey into develop (diff)
downloadsharkey-f2dee7b25eb473796ff77e2abfae88f174fd5b90.tar.gz
sharkey-f2dee7b25eb473796ff77e2abfae88f174fd5b90.tar.bz2
sharkey-f2dee7b25eb473796ff77e2abfae88f174fd5b90.zip
Fix: リストライムラインの「リノートを表示」が正しく機能しない問題を修正 (#12932)
* fix: list timeline withRenotes * add CHANGELOG
Diffstat (limited to 'packages/frontend/src')
-rw-r--r--packages/frontend/src/components/MkTimeline.vue5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkTimeline.vue b/packages/frontend/src/components/MkTimeline.vue
index d5adc02ca7..63f779dbde 100644
--- a/packages/frontend/src/components/MkTimeline.vue
+++ b/packages/frontend/src/components/MkTimeline.vue
@@ -132,6 +132,7 @@ function connectChannel() {
connection.on('mention', onNote);
} else if (props.src === 'list') {
connection = stream.useChannel('userList', {
+ withRenotes: props.withRenotes,
withFiles: props.onlyFiles ? true : undefined,
listId: props.list,
});
@@ -198,6 +199,7 @@ function updatePaginationQuery() {
} else if (props.src === 'list') {
endpoint = 'notes/user-list-timeline';
query = {
+ withRenotes: props.withRenotes,
withFiles: props.onlyFiles ? true : undefined,
listId: props.list,
};
@@ -236,8 +238,9 @@ function refreshEndpointAndChannel() {
updatePaginationQuery();
}
+// デッキのリストカラムでwithRenotesを変更した場合に自動的に更新されるようにさせる
// IDが切り替わったら切り替え先のTLを表示させたい
-watch(() => [props.list, props.antenna, props.channel, props.role], refreshEndpointAndChannel);
+watch(() => [props.list, props.antenna, props.channel, props.role, props.withRenotes], refreshEndpointAndChannel);
// 初回表示用
refreshEndpointAndChannel();