builder block: add search

This commit is contained in:
Simon Vieille 2024-05-26 21:42:31 +02:00
parent 1120c20f05
commit 89efd5475f
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -82,7 +82,7 @@
<div
v-for="(widget, name) in category.widgets"
v-on:click="add(name, widget)"
v-if="matchSearch(name)"
v-if="matchSearch(label) || matchSearch(name)"
class="widget col-auto"
>
<span class="widget-icon" v-if="widget.icon" v-html="widget.icon"></span>