Skip to content

Commit

Permalink
Show username if full name is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
cnasikas authored and XavierM committed Apr 1, 2020
1 parent 5661e8e commit 8d71f6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const getCasesColumns = (
size="s"
/>
<Spacer data-test-subj="case-table-column-createdBy">
{createdBy.fullName ?? createdBy.username ?? ''}
{createdBy.fullName ? createdBy.fullName : createdBy.username ?? ''}
</Spacer>
</>
);
Expand Down

0 comments on commit 8d71f6c

Please sign in to comment.