Skip to content

Commit

Permalink
replace Manage Team modal with link to TAM invitation page
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Rosenberg authored and Jake Rosenberg committed Sep 29, 2023
1 parent 33f5270 commit 6da7cd2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 283 deletions.

This file was deleted.

This file was deleted.

222 changes: 0 additions & 222 deletions libs/tup-components/src/projects/users/UserList/AddUserModal.tsx

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Button } from '@tacc/core-components';
import { useProject, useRoleForCurrentUser } from '@tacc/tup-hooks';
import styles from './UserList.module.css';
import AddUserModal from './AddUserModal';

const ManageTeam: React.FC<{ projectId: number }> = ({ projectId }) => {
const currentUserRole = useRoleForCurrentUser(projectId) ?? '';
Expand All @@ -26,7 +25,13 @@ const ManageTeam: React.FC<{ projectId: number }> = ({ projectId }) => {

return (
<div className={styles['user-navactions']}>
<AddUserModal projectId={projectId} />
<a
target="_blank"
rel="noreferrer"
href={`https://accounts.tacc.utexas.edu/project_invite?project_id=${projectId}`}
>
<Button>+ Add Users</Button>
</a>
</div>
);
};
Expand Down

0 comments on commit 6da7cd2

Please sign in to comment.