fix (client): boost tooltip not showing boosted users

This commit is contained in:
naskya 2024-06-28 15:54:04 +09:00
parent aa97455708
commit af7c8ec732
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C
2 changed files with 3 additions and 2 deletions

View file

@ -46,7 +46,7 @@ export const paramDef = {
type: "string",
enum: ["all", "renote", "quote"],
nullable: true,
default: null,
default: "all",
},
},
required: ["noteId"],

View file

@ -52,7 +52,8 @@ const canRenote = computed(
useTooltip(buttonRef, async (showing) => {
const renotes = await os.api("notes/renotes", {
noteId: props.note.id,
limit: 11,
limit: 10,
filter: "renote",
});
const users = renotes.map((x) => x.user);