Skip to content

Commit 9b28e30

Browse files
committed
fixed invisible emails in contribs explorer
1 parent a8b6317 commit 9b28e30

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/utils/table.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,10 @@ export const initColumns = (columns: Column[], disableRichColumnHeaders?: boolea
256256
c.cell = (row: any) => {
257257
const rowValue = getRowValueFromSelectorString(c.selector, row);
258258
const firstAuthor =
259-
typeof rowValue === 'string' && rowValue.includes(',') ? rowValue.split(',')[0] : '';
259+
//typeof rowValue === 'string' && rowValue.includes(',') ? rowValue.split(',')[0] : '';
260+
typeof rowValue === 'string' && rowValue.includes(',')
261+
? rowValue.split(',')[0]
262+
: rowValue;
260263
let emailAddressPart = '';
261264
if (c && c.formatOptions && typeof row[c.formatOptions.emailAddressKey] === 'string') {
262265
const parts = row[c.formatOptions.emailAddressKey].split(':');

0 commit comments

Comments
 (0)