fix: Allow unpublished org to serve redirected links plus other org onboarding fixes (#14337)

* fix: Allow unpublished org to serve redirected links

* fix: Fix team event link for unpublished org

* fixes

* Rename variable

* Add minimum teams requirement for upgrade

* Fixes

* PR Feedback addressed
This commit is contained in:
Hariom Balhara authored and GitHub committed 2024-04-09 10:33:39 +01:00
1 parent 84fdd03603
commit 65df5ac0e4
31 files changed
+230 -158

No files matched your search

@@ -2,8 +2,19 @@ import { useLocale } from "@calcom/lib/hooks/useLocale";
import { EmptyScreen, Avatar } from "@calcom/ui";
export type UnpublishedEntityProps = {
/**
* If it is passed, don't pass orgSlug
* It conveys two things - Slug for the team and that it is not an organization
*/
teamSlug?: string | null;
/**
* If it is passed, don't pass teamSlug.
* It conveys two things - Slug for the team and that it is an organization infact
*/
orgSlug?: string | null;
/**
* Team or Organization name
*/
name?: string | null;
};