|
|
@ -76,13 +76,13 @@ export function TeamDropdown() { |
|
|
|
.filter((team) => team.status === 'invited') |
|
|
|
.filter((team) => team.status === 'invited') |
|
|
|
.map((team) => team._id); |
|
|
|
.map((team) => team._id); |
|
|
|
|
|
|
|
|
|
|
|
// if (
|
|
|
|
if ( |
|
|
|
// !user?.email.endsWith('@insightpartners.com') &&
|
|
|
|
!user?.email.endsWith('@insightpartners.com') && |
|
|
|
// !user?.email.endsWith('@roadmap.sh') &&
|
|
|
|
!user?.email.endsWith('@roadmap.sh') && |
|
|
|
// !['arikchangma@gmail.com', 'kamranahmed.se@gmail.com', 'stephen.chetcuti@gmail.com'].includes(user?.email!)
|
|
|
|
!['arikchangma@gmail.com', 'kamranahmed.se@gmail.com', 'stephen.chetcuti@gmail.com'].includes(user?.email!) |
|
|
|
// ) {
|
|
|
|
) { |
|
|
|
// return null;
|
|
|
|
return null; |
|
|
|
// }
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<div className="relative mr-2"> |
|
|
|
<div className="relative mr-2"> |
|
|
|