fix: handle optional company code in CustomerMandates component
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2025-03-10 12:23:08 +01:00
parent f1b9b8ffd2
commit 5653ed6b18
1 changed files with 1 additions and 2 deletions

View File

@ -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',
},