fix: handle optional company code in CustomerMandates component
gitea/salix-front/pipeline/head This commit looks good
Details
gitea/salix-front/pipeline/head This commit looks good
Details
This commit is contained in:
parent
f1b9b8ffd2
commit
5653ed6b18
|
@ -17,7 +17,6 @@ const filter = {
|
|||
{ relation: 'company', scope: { fields: ['id', 'code'] } },
|
||||
],
|
||||
order: ['created DESC'],
|
||||
limit: 20,
|
||||
};
|
||||
|
||||
const columns = computed(() => [
|
||||
|
@ -31,7 +30,7 @@ const columns = computed(() => [
|
|||
{
|
||||
align: 'left',
|
||||
cardVisible: true,
|
||||
format: ({ company }) => company.code,
|
||||
format: ({ company }) => company?.code,
|
||||
label: t('globals.company'),
|
||||
name: 'company',
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue