Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression: Outgoing List #17667

Merged
merged 7 commits into from
May 16, 2020
2 changes: 1 addition & 1 deletion client/admin/integrations/IntegrationsTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export function IntegrationsTable({ type }) {
<Th key={'username'} direction={sort[1]} active={sort[0] === 'username'} onClick={onHeaderClick} sort='username'>{t('Post_as')}</Th>,
].filter(Boolean), [sort, isBig]);

const renderRow = useCallback(({ name, _id, type, username, _createdAt, _createdBy: { username: createdBy }, channel }) => {
const renderRow = useCallback(({ name, _id, type, username, _createdAt, _createdBy: { username: createdBy }, channel = [] }) => {
const handler = useMemo(() => onClick(_id, type), []);
return <Table.Row key={_id} onKeyDown={handler} onClick={handler} tabIndex={0} role='link' action>
<Table.Cell style={style} color='default' fontScale='p2'>{name}</Table.Cell>
Expand Down