fix: refs #8449 update data-key attribute in VnTableFilter and related components
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Alex Moreno 2025-03-31 12:50:32 +02:00
parent 497eb3a8bb
commit 2f6b98a0bf
3 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ function columnName(col) {
v-if="col?.columnFilter !== false && col?.name !== 'tableActions'" v-if="col?.columnFilter !== false && col?.name !== 'tableActions'"
v-model="orders[col.orderBy ?? col.name]" v-model="orders[col.orderBy ?? col.name]"
:name="col.orderBy ?? col.name" :name="col.orderBy ?? col.name"
:data-key="$attrs['dataKey']" :data-key="$attrs['data-key']"
:search-url="searchUrl" :search-url="searchUrl"
:vertical="true" :vertical="true"
/> />

View File

@ -95,7 +95,7 @@ function getActions() {
/> />
<VnTableFilter <VnTableFilter
v-if="dataKey" v-if="dataKey"
:dataKey :data-key
:columns="columns" :columns="columns"
:redirect="false" :redirect="false"
:hiddenTags="['originFk', 'creationDate']" :hiddenTags="['originFk', 'creationDate']"

View File

@ -213,7 +213,7 @@ function exprBuilder(param, value) {
}" }"
> >
<template #advanced-menu> <template #advanced-menu>
<RoadmapFilter :dataKey /> <RoadmapFilter :data-key />
</template> </template>
<template #body> <template #body>
<VnTable <VnTable