fix: intercom has organisation (#15224)

* fix: intercom has organisation

* Apply suggestions from code review

---------

Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
Somay ChauhanandPeer Richelsen authored and GitHub committed 2024-05-29 12:22:25 +00:00
1 parent 07f613050e
commit 8499aebe88
1 file changed
+2 -2
@@ -62,7 +62,7 @@ export const useIntercom = () => {
sum_of_bookings: data?.sumOfBookings,
sum_of_calendars: data?.sumOfCalendars,
sum_of_teams: data?.sumOfTeams,
has_org: !data?.organizationId,
has_orgs_plan: !!data?.organizationId,
organization: data?.organization?.slug,
sum_of_event_types: data?.sumOfEventTypes,
sum_of_team_event_types: data?.sumOfTeamEventTypes,
@@ -105,7 +105,7 @@ export const useIntercom = () => {
sum_of_bookings: data?.sumOfBookings,
sum_of_calendars: data?.sumOfCalendars,
sum_of_teams: data?.sumOfTeams,
has_org: !data?.organizationId,
has_orgs_plan: !!data?.organizationId,
organization: data?.organization?.slug,
sum_of_event_types: data?.sumOfEventTypes,
sum_of_team_event_types: data?.sumOfTeamEventTypes,