From 9b28e309b4dce1d016c71fe94dad57fdab1d65be Mon Sep 17 00:00:00 2001 From: Ian Kwon Date: Tue, 20 Aug 2024 16:01:31 -0700 Subject: [PATCH] fixed invisible emails in contribs explorer --- src/utils/table.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/utils/table.tsx b/src/utils/table.tsx index 648596e5..9dbe0742 100644 --- a/src/utils/table.tsx +++ b/src/utils/table.tsx @@ -256,7 +256,10 @@ export const initColumns = (columns: Column[], disableRichColumnHeaders?: boolea c.cell = (row: any) => { const rowValue = getRowValueFromSelectorString(c.selector, row); const firstAuthor = - typeof rowValue === 'string' && rowValue.includes(',') ? rowValue.split(',')[0] : ''; + //typeof rowValue === 'string' && rowValue.includes(',') ? rowValue.split(',')[0] : ''; + typeof rowValue === 'string' && rowValue.includes(',') + ? rowValue.split(',')[0] + : rowValue; let emailAddressPart = ''; if (c && c.formatOptions && typeof row[c.formatOptions.emailAddressKey] === 'string') { const parts = row[c.formatOptions.emailAddressKey].split(':');