#8449 - vnLogFilter #1640

Merged
alexm merged 20 commits from 8449-vnLogFilter into dev 2025-03-31 11:13:18 +00:00
2 changed files with 12 additions and 2 deletions
Showing only changes of commit f78cd7c9bf - Show all commits

View File

@ -101,6 +101,7 @@ function getActions() {
:hiddenTags="['originFk', 'creationDate']"
:exprBuilder
search-url="logs"
:showTagChips="false"
>
<template #filter-changedModelValue="{ params, columnName, searchFn }">
<VnInput

View File

@ -61,6 +61,10 @@ const $props = defineProps({
type: Object,
default: null,
},
showTagChips: {
jorgep marked this conversation as resolved
Review

Añado esta propiedad, ya que en VnLogFilter no veo que valga la pena tenerlo, ademas hace que no vaya bien los checkboxs

Añado esta propiedad, ya que en VnLogFilter no veo que valga la pena tenerlo, ademas hace que no vaya bien los checkboxs
type: Boolean,
default: true,
},
});
const emit = defineEmits([
@ -218,7 +222,12 @@ const getLocale = (label) => {
<QList dense>
<QItem class="q-mt-xs">
<QItemSection top>
<QItemLabel header lines="1" class="text-uppercase q-py-xs q-px-none">
<QItemLabel
header
lines="1"
class="text-uppercase q-py-xs q-px-none"
v-if="showTagChips"
>
{{ t('Applied filters') }}
</QItemLabel>
</QItemSection>
@ -237,7 +246,7 @@ const getLocale = (label) => {
</QBtn>
</QItemSection>
</QItem>
<QItem class="q-mb-sm">
<QItem class="q-mb-sm" v-if="showTagChips">
<div
v-if="tagsList.length === 0"
class="text-grey font-xs text-center full-width"