1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-03-21 18:49:24 -05:00

auto expand replies

This commit is contained in:
fly_mc 2024-10-10 01:45:05 +08:00
parent c0b328fd19
commit 8ba53ddd8b

View file

@ -589,10 +589,10 @@ function blur() {
rootEl.value?.blur();
}
const repliesLoaded = ref(false);
// const repliesLoaded = ref(false);
function loadReplies() {
repliesLoaded.value = true;
// repliesLoaded.value = true;
misskeyApi('notes/children', {
noteId: appearNote.value.id,
limit: 30,
@ -601,10 +601,10 @@ function loadReplies() {
});
}
const conversationLoaded = ref(false);
// const conversationLoaded = ref(false);
function loadConversation() {
conversationLoaded.value = true;
// conversationLoaded.value = true;
if (appearNote.value.replyId == null) return;
misskeyApi('notes/conversation', {
noteId: appearNote.value.replyId,