fix: refs #8316 filter
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Alex Moreno 2025-01-24 09:04:01 +01:00
parent e38e9b1dd7
commit 1455d8ce02
1 changed files with 14 additions and 14 deletions

View File

@ -144,19 +144,7 @@ const columns = computed(() => [
url: 'ItemTypes', url: 'ItemTypes',
order: 'name ASC', order: 'name ASC',
exprBuilder, exprBuilder,
}" userFilter: {
>
<template #body>
<VnTable
ref="tableRef"
:data-key="dataKey"
:create="{
urlCreate: 'ItemTypes',
title: t('Create ItemTypes'),
onDataSaved: () => tableRef.reload(),
formInitialData: {},
}"
:user-filter="{
include: { include: {
relation: 'worker', relation: 'worker',
scope: { scope: {
@ -169,6 +157,18 @@ const columns = computed(() => [
}, },
}, },
}, },
},
}"
>
<template #body>
<VnTable
ref="tableRef"
:data-key="dataKey"
:create="{
urlCreate: 'ItemTypes',
title: t('Create ItemTypes'),
onDataSaved: () => tableRef.reload(),
formInitialData: {},
}" }"
:columns="columns" :columns="columns"
auto-load auto-load