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