Enabled e-mail action in alert dialog and alerts overview action indicators.

This commit is contained in:
2026-07-18 01:02:03 +02:00
parent b6408f3244
commit 981205efaa
15 changed files with 69 additions and 53 deletions

View File

@@ -572,10 +572,10 @@ export async function notify(sceneIds) {
slug: scene.slug,
date: scene.date,
description: scene.description,
actors: (actorsByReleaseId[scene.id] || []).filter(Boolean).map((actor) => ({ id: actor.actor_id, name: actor.actor_name, slug: actor.slug })),
actors: (actorsByReleaseId[scene.id] || []).filter((actor) => !!actor.actor_name).map((actor) => ({ id: actor.actor_id, name: actor.actor_name, slug: actor.slug })),
actorIds: (actorsByReleaseId[scene.id] || []).map((actor) => actor.actor_id),
tagIds: (tagsByReleaseId[scene.id] || []).map((tag) => tag.id),
tags: (tagsByReleaseId[scene.id] || []).filter(Boolean).map((tag) => ({ slug: tag.tag_slug, name: tag.tag_name })),
tags: (tagsByReleaseId[scene.id] || []).filter((tag) => !!tag.tag_name).map((tag) => ({ slug: tag.tag_slug, name: tag.tag_name })),
entityId: scene.channel?.id || scene.network?.id || null,
parentEntityId: scene.network?.id,
posterUrl: getImagePath(scene.poster),