Flipped scene and actor tags.

This commit is contained in:
2026-03-04 02:53:49 +01:00
parent 8a734b9fa9
commit f4447b23de

View File

@@ -448,14 +448,14 @@ const {
const { scene } = pageProps;
const tags = [
...scene.actors.map((actor) => ({
actor,
tags: scene.tags.filter((tag) => tag.actorId === actor.id),
})),
{
tags: scene.tags.filter((tag) => tag.actorId === null),
actor: null,
},
...scene.actors.map((actor) => ({
actor,
tags: scene.tags.filter((tag) => tag.actorId === actor.id),
})),
].filter((actorTags) => actorTags.tags.length > 0);
const showSummaryDialog = ref(false);