enhance(frontend): チャンネル投稿をユーザーページと前後ノートに表示する (#15532)
* enhance(frontend): ユーザーページで常にチャンネル投稿が含まれるように * enhance(frontend): ノート詳細の前後の投稿にチャンネル投稿を含めるように * ログイン有無の削除
This commit is contained in:
		| @@ -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', | ||||
| 	}, | ||||
| }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 鴇峰 朔華
					鴇峰 朔華