refs #7283 fix items images
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Carlos Satorres 2024-09-12 11:36:02 +02:00
parent 039a8d1d02
commit 68a2ac385f
1 changed files with 7 additions and 5 deletions

View File

@ -50,9 +50,9 @@ const columns = computed(() => [
align: 'left', align: 'left',
columnField: { columnField: {
component: VnImg, component: VnImg,
attrs: (id) => { attrs: ({ row }) => {
return { return {
id, id: row.id,
width: '50px', width: '50px',
}; };
}, },
@ -102,9 +102,11 @@ const columns = computed(() => [
name: 'typeName', name: 'typeName',
align: 'left', align: 'left',
component: 'select', component: 'select',
attrs: { columnFilter: {
url: 'ItemTypes', attrs: {
fields: ['id', 'name'], url: 'ItemTypes',
fields: ['name'],
},
}, },
columnField: { columnField: {
component: null, component: null,