enhance(frontend): チャンネル投稿をユーザーページと前後ノートに表示する (#15532)
* enhance(frontend): ユーザーページで常にチャンネル投稿が含まれるように * enhance(frontend): ノート詳細の前後の投稿にチャンネル投稿を含めるように * ログイン有無の削除
This commit is contained in:
parent
bbe404a0b2
commit
a4711ab4c1
@ -87,6 +87,7 @@ const prevUserPagination: Paging = {
|
||||
params: computed(() => note.value ? ({
|
||||
userId: note.value.userId,
|
||||
untilId: note.value.id,
|
||||
withChannelNotes: true,
|
||||
}) : undefined),
|
||||
};
|
||||
|
||||
@ -97,6 +98,8 @@ const nextUserPagination: Paging = {
|
||||
params: computed(() => note.value ? ({
|
||||
userId: note.value.userId,
|
||||
sinceId: note.value.id,
|
||||
withChannelNotes: true,
|
||||
includeSensitiveChannel: $i != null,
|
||||
}) : undefined),
|
||||
};
|
||||
|
||||
|
@ -43,7 +43,7 @@ const pagination = computed(() => tab.value === 'featured' ? {
|
||||
userId: props.user.id,
|
||||
withRenotes: tab.value === 'all',
|
||||
withReplies: tab.value === 'all',
|
||||
withChannelNotes: tab.value === 'all',
|
||||
withChannelNotes: true,
|
||||
withFiles: tab.value === 'files',
|
||||
},
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user