fix: いっぱい2

This commit is contained in:
sim1222 2022-12-30 16:13:57 +09:00
parent 2b057fe2e1
commit cba0a84125
No known key found for this signature in database
GPG Key ID: 04EF48D01BEB0298

View File

@ -16,7 +16,7 @@
</MkA>
</div>
</FormFolder>
<MkError v-if="tes.length === 0"/>
<MkError v-if="tes.length === 0 && !fetching"/>
</MkStickyContainer>
</MkModalWindow>
</div>
@ -54,6 +54,7 @@ const isDeleted = ref();
const reactions = ref([] as NoteReaction[]);
const users = ref([] as UserLite[]);
const tes = ref([] as reactionUsers);
const fetching = ref(true);
const initialReactions = new Set(Object.keys(props.note.reactions));
@ -62,6 +63,7 @@ onMounted(async () => {
noteId: props.note.id,
limit: 100,
});
fetching.value = false;
for (const [reaction, count] of Object.entries(props.note.reactions)) {
const users = await os.apiGet('notes/reactions', {