From 28b6e51a4171bdc6f7bcb3c0560084ad6a145d4f Mon Sep 17 00:00:00 2001 From: Alejandro Sanchez Date: Wed, 12 Apr 2023 21:20:51 +0000 Subject: [PATCH] better github connection recomendation --- .../views/admin/github-form/OrganizationUsers.jsx | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/app/views/admin/github-form/OrganizationUsers.jsx b/src/app/views/admin/github-form/OrganizationUsers.jsx index 9f7f51e9..f34ace8d 100644 --- a/src/app/views/admin/github-form/OrganizationUsers.jsx +++ b/src/app/views/admin/github-form/OrganizationUsers.jsx @@ -18,6 +18,7 @@ import dayjs from 'dayjs'; import config from '../../../../config.js'; import { faLastfmSquare } from "@fortawesome/free-brands-svg-icons"; import { PickCohortUserModal } from "./PickCohortUserModal"; +import HelpIcon from '../../../components/HelpIcon'; const relativeTime = require('dayjs/plugin/relativeTime'); @@ -70,8 +71,17 @@ const OrganizationUsers = ({ organization }) => { const item = items[tableMeta.rowIndex]; return (
- {item.user !== null &&
{item.user.first_name + " " + item.user.last_name}
} - {item.username ? {item.username} : No username found} + {item.user !== null &&
{(item.user.first_name | item.user.email) + " " + item.user.last_name}
} + {item.github ? + {item.github.username} + : item.username ? <> + Backup github found: {item.username} + + + : <> + No username found + + }
); },