Skip to content

Commit

Permalink
mandatePrecision
Browse files Browse the repository at this point in the history
  • Loading branch information
folland87 committed Sep 26, 2023
1 parent 20949fe commit 23f6fbc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/annuaire/components/result.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ const otherColumns = [
name: 'relationType',
label: 'Titre',
sortable: true,
render: ({ relationType, mandateTemporary }) => `${relationType}${mandateTemporary ? ' par interim' : ''}`,
render: ({ relationType, mandateTemporary, mandatePrecision }) => {
if (mandatePrecision) return mandatePrecision;
return `${relationType}${mandateTemporary ? ' par interim' : ''}`;
},
},
{
name: 'structure',
Expand Down

0 comments on commit 23f6fbc

Please sign in to comment.