Fixed entity-only alert not verifying.

This commit is contained in:
DebaucheryLibrarian 2024-03-28 00:48:46 +01:00
parent 99c60a0f81
commit 9145ecb8a4
1 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@
</li>
<Tooltip
v-if="!entity"
v-if="entities.length === 0"
@open="$refs.expression?.focus()"
>
<li class="match placeholder">
@ -283,7 +283,7 @@
<div class="dialog-actions right">
<button
:disabled="actors.length === 0 && tags.length === 0 && !entity && matches.length === 0"
:disabled="actors.length === 0 && tags.length === 0 && entities.length === 0 && matches.length === 0"
type="submit"
class="button button-primary"
>Add alert</button>