fix (client): boost tooltip not showing boosted users
This commit is contained in:
parent
aa97455708
commit
af7c8ec732
2 changed files with 3 additions and 2 deletions
|
@ -46,7 +46,7 @@ export const paramDef = {
|
||||||
type: "string",
|
type: "string",
|
||||||
enum: ["all", "renote", "quote"],
|
enum: ["all", "renote", "quote"],
|
||||||
nullable: true,
|
nullable: true,
|
||||||
default: null,
|
default: "all",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
required: ["noteId"],
|
required: ["noteId"],
|
||||||
|
|
|
@ -52,7 +52,8 @@ const canRenote = computed(
|
||||||
useTooltip(buttonRef, async (showing) => {
|
useTooltip(buttonRef, async (showing) => {
|
||||||
const renotes = await os.api("notes/renotes", {
|
const renotes = await os.api("notes/renotes", {
|
||||||
noteId: props.note.id,
|
noteId: props.note.id,
|
||||||
limit: 11,
|
limit: 10,
|
||||||
|
filter: "renote",
|
||||||
});
|
});
|
||||||
|
|
||||||
const users = renotes.map((x) => x.user);
|
const users = renotes.map((x) => x.user);
|
||||||
|
|
Loading…
Reference in a new issue