Using entityIds and alertIds fields in alert dialog API call for consistency. Improved new alert data validation.

This commit is contained in:
2025-04-04 06:03:02 +02:00
parent dc876e7aa2
commit 5ca478772c
2 changed files with 14 additions and 14 deletions

View File

@@ -446,9 +446,9 @@ async function createAlert() {
allTags: tagAnd.value,
allMatches: matchAnd.value,
actors: actors.value.map((actor) => actor.id),
tags: tags.value.map((tag) => tag.id),
tagIds: tags.value.map((tag) => tag.id),
matches: matches.value,
entities: entities.value.map((entity) => entity.id),
entityIds: entities.value.map((entity) => entity.id),
notify: notify.value,
email: email.value,
stashes: stashes.value.map((stash) => stash.id),