Ignoring actor merge avatar conflicts, put actor merge source IDs in post body.

This commit is contained in:
2026-07-23 22:54:35 +02:00
parent 62d19d1a04
commit b54174eb5e
5 changed files with 12 additions and 5 deletions

View File

@@ -148,6 +148,10 @@ async function addActor() {
gap: 1.25rem;
}
.input {
width: 100%;
}
.load-container {
width: 100%;
display: inline-flex;

View File

@@ -52,7 +52,8 @@ function getActorNames() {
async function merge() {
submitted.value = true;
await post(`/actors/${targetActor.value.id}/merge/${props.actors.map((actor) => actor.id).join(',')}`, {
await post(`/actors/${targetActor.value.id}/merge`, {
actorIds: props.actors.map((actor) => actor.id),
comment: comment.value || null,
}, {
successFeedback: `Merged ${getActorNames()} into ${targetActor.value.name}`,