Skip to content

Commit 296cf11

Browse files
committed
feat: ajouter une vérification de l'existence de la colonne pour l'affichage du titre et améliorer le style des éléments sélectionnés
1 parent 0badccb commit 296cf11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/web/src/components/core/edit-filters.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ q-card.transparent(style='min-width: 45vw; max-width: 90vw')
33
q-toolbar.bg-secondary.text-white(dense flat style='height: 32px;')
44
q-toolbar-title
55
span {{ title }} 
6-
small
6+
small(v-if='columnExists(initialFilter.field || "")')
77
i(v-if='initialFilter.label') <{{ initialFilter.label }}>
88
q-chip(
99
@click='copy(initialFilter.field || "")'
@@ -47,6 +47,7 @@ q-card.transparent(style='min-width: 45vw; max-width: 90vw')
4747
template(v-slot:selected-item="scope")
4848
//- pre(v-html='JSON.stringify(scope)')
4949
q-chip(
50+
style='overflow-x: hidden;'
5051
:class="[!columnExists(scope.opt.name || scope.opt) ? 'text-black' : '']"
5152
:color="!columnExists(scope.opt.name || scope.opt) ? ($q.dark.isActive ? 'amber-9' : 'amber-3') : ''"
5253
dense

0 commit comments

Comments
 (0)