note-improvements (#9742)

Increases the limit of the replies loaded above the focused post from 10 to 30

Co-authored-by: Freeplay <Freeplay@duck.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9742
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
This commit is contained in:
Free 2023-03-21 04:41:50 +00:00 committed by Kainoa Kanter
parent b8e09ad4b6
commit bcd0488cf1
1 changed files with 1 additions and 0 deletions

View File

@ -304,6 +304,7 @@ os.api('notes/children', {
if (appearNote.replyId) { if (appearNote.replyId) {
os.api('notes/conversation', { os.api('notes/conversation', {
noteId: appearNote.replyId, noteId: appearNote.replyId,
limit: 30,
}).then(res => { }).then(res => {
conversation.value = res.reverse(); conversation.value = res.reverse();
focus(); focus();