fix: platform dialog portal issue (#20553)
This commit is contained in:
@@ -31,7 +31,7 @@ export class OrganizationsBookingsController {
|
||||
) {}
|
||||
|
||||
@Get("/")
|
||||
@ApiOperation({ summary: "Get organization team bookings" })
|
||||
@ApiOperation({ summary: "Get Organization Bookings" })
|
||||
@Roles("ORG_ADMIN")
|
||||
@PlatformPlan("ESSENTIALS")
|
||||
@HttpCode(HttpStatus.OK)
|
||||
|
||||
@@ -1273,7 +1273,7 @@
|
||||
"/v2/organizations/{orgId}/bookings": {
|
||||
"get": {
|
||||
"operationId": "OrganizationsBookingsController_getAllOrgTeamBookings",
|
||||
"summary": "Get organization team bookings",
|
||||
"summary": "Get Organization Bookings",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "status",
|
||||
@@ -4281,7 +4281,7 @@
|
||||
"summary": "Get all bookings of an organization user",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "userId",
|
||||
"name": "orgId",
|
||||
"required": true,
|
||||
"in": "path",
|
||||
"schema": {
|
||||
|
||||
@@ -1223,7 +1223,7 @@
|
||||
"/v2/organizations/{orgId}/bookings": {
|
||||
"get": {
|
||||
"operationId": "OrganizationsBookingsController_getAllOrgTeamBookings",
|
||||
"summary": "Get organization team bookings",
|
||||
"summary": "Get Organization Bookings",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "status",
|
||||
@@ -4120,7 +4120,7 @@
|
||||
"summary": "Get all bookings of an organization user",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "userId",
|
||||
"name": "orgId",
|
||||
"required": true,
|
||||
"in": "path",
|
||||
"schema": {
|
||||
|
||||
@@ -14,11 +14,17 @@ const Dialog = DialogPrimitives.Root;
|
||||
|
||||
const DialogTrigger = DialogPrimitives.Trigger;
|
||||
|
||||
const DialogPortal = ({ children }: { children: ReactElement | ReactElement[] }) => <>{children}</>;
|
||||
const DialogPortal = DialogPrimitives.Portal;
|
||||
|
||||
const DialogClose = DialogPrimitives.Close;
|
||||
|
||||
const Portal = ({ children }: { children: ReactElement | ReactElement[] }) => <>{children}</>;
|
||||
const Portal = ({ children }: { children: React.ReactElement | React.ReactElement[] }) => {
|
||||
return (
|
||||
<DialogPrimitives.Portal className="calcom-atoms">
|
||||
<div className="calcom-atoms">{children}</div>
|
||||
</DialogPrimitives.Portal>
|
||||
);
|
||||
};
|
||||
const Root = DialogPrimitives.Root;
|
||||
const Trigger = DialogPrimitives.Trigger;
|
||||
const Overlay = DialogPrimitives.Overlay;
|
||||
|
||||
Reference in New Issue
Block a user