Skip to content

Commit

Permalink
fix: fix empty PI name in User Officer proposal table
Browse files Browse the repository at this point in the history
  • Loading branch information
simonfernandes committed Jun 16, 2023
1 parent d8f01b6 commit c4d5bf8
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ let columns: Column<ProposalViewData>[] = [
...{ width: 'auto' },
},
{
title: 'Principal Investigator',
field: 'principalInvestigator',
emptyValue: '-',
render: (proposalView) => {
if (
proposalView.principalInvestigator?.lastname &&
Expand All @@ -124,8 +127,6 @@ let columns: Column<ProposalViewData>[] = [

return '';
},
title: 'Principal Investigator',
emptyValue: '-',
},
{
title: 'PI Email',
Expand Down

0 comments on commit c4d5bf8

Please sign in to comment.