diff --git a/components/alerts/create.vue b/components/alerts/create.vue index c032d4b..e4b6a46 100644 --- a/components/alerts/create.vue +++ b/components/alerts/create.vue @@ -329,37 +329,39 @@ /> -
  • - -
  • - -
  • - + @@ -497,8 +499,10 @@ function addMatch() { matchExpression.value = ''; } -function selectStash(stash) { - stashes.value.push(stash); +function selectStash(selectedStash) { + if (!stashes.value.some((stash) => stash.id === selectedStash.id)) { + stashes.value.push(selectedStash); + } }