Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
chore: convert isCreateTeamButtonDisabled to bool (calcom#11473)
Browse files Browse the repository at this point in the history
Signed-off-by: Udit Takkar <[email protected]>
  • Loading branch information
Udit-takkar authored Sep 22, 2023
1 parent a78a7a1 commit faf974c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/features/ee/teams/components/TeamsListing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function TeamsListing() {
const teams = useMemo(() => data?.filter((m) => m.accepted) || [], [data]);
const invites = useMemo(() => data?.filter((m) => !m.accepted) || [], [data]);

const isCreateTeamButtonDisabled = user?.organizationId && !user?.organization?.isOrgAdmin;
const isCreateTeamButtonDisabled = !!(user?.organizationId && !user?.organization?.isOrgAdmin);

const features = [
{
Expand Down

0 comments on commit faf974c

Please sign in to comment.