Fixed entity-only alert not verifying.
This commit is contained in:
parent
99c60a0f81
commit
9145ecb8a4
|
@ -189,7 +189,7 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<Tooltip
|
<Tooltip
|
||||||
v-if="!entity"
|
v-if="entities.length === 0"
|
||||||
@open="$refs.expression?.focus()"
|
@open="$refs.expression?.focus()"
|
||||||
>
|
>
|
||||||
<li class="match placeholder">
|
<li class="match placeholder">
|
||||||
|
@ -283,7 +283,7 @@
|
||||||
|
|
||||||
<div class="dialog-actions right">
|
<div class="dialog-actions right">
|
||||||
<button
|
<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"
|
type="submit"
|
||||||
class="button button-primary"
|
class="button button-primary"
|
||||||
>Add alert</button>
|
>Add alert</button>
|
||||||
|
|
Loading…
Reference in New Issue