[editor] Fix badge key-repetition for duplicated actions

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-04-08 00:47:38 +02:00
parent d92a451ebc
commit e80ed0dbf3
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5

View file

@ -90,8 +90,8 @@
Disabled
</b-badge>
<b-badge
v-for="badge in formatRuleActions(data.item)"
:key="badge"
v-for="(badge, idx) in formatRuleActions(data.item)"
:key="`${badge}-${idx}`"
class="mt-1 mr-1"
>
{{ badge }}