@@ -1,5 +1,5 @@
|
|||||||
import { useTranslate } from "@probo/i18n";
|
import { useTranslate } from "@probo/i18n";
|
||||||
import { Button, Card, Dropzone, IconTrashCan, Spinner, useToast } from "@probo/ui";
|
import { Button, Dropzone, IconTrashCan, Spinner, useToast } from "@probo/ui";
|
||||||
import { useFragment } from "react-relay";
|
import { useFragment } from "react-relay";
|
||||||
import { graphql } from "relay-runtime";
|
import { graphql } from "relay-runtime";
|
||||||
|
|
||||||
@@ -88,7 +88,6 @@ export function CompliancePageNDASection(props: { fragmentRef: CompliancePageNDA
|
|||||||
</h2>
|
</h2>
|
||||||
{(isUploadingNDA || isDeletingNDA) && <Spinner />}
|
{(isUploadingNDA || isDeletingNDA) && <Spinner />}
|
||||||
</div>
|
</div>
|
||||||
<Card padded className="space-y-4">
|
|
||||||
<div className="space-y-2">
|
<div className="space-y-2">
|
||||||
{!organization.compliancePage?.ndaFileName
|
{!organization.compliancePage?.ndaFileName
|
||||||
&& organization.compliancePage?.canUploadNDA
|
&& organization.compliancePage?.canUploadNDA
|
||||||
@@ -169,7 +168,6 @@ export function CompliancePageNDASection(props: { fragmentRef: CompliancePageNDA
|
|||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</Card>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ export function CompliancePageSlackSection(props: { fragmentRef: CompliancePageS
|
|||||||
return (
|
return (
|
||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
<h2 className="text-base font-medium">{__("Integrations")}</h2>
|
<h2 className="text-base font-medium">{__("Integrations")}</h2>
|
||||||
<Card padded>
|
|
||||||
<div className="space-y-2">
|
<div className="space-y-2">
|
||||||
{organization.slackConnections.edges.map(({ node: slackConnection }) => (
|
{organization.slackConnections.edges.map(({ node: slackConnection }) => (
|
||||||
<Card
|
<Card
|
||||||
@@ -88,7 +87,6 @@ export function CompliancePageSlackSection(props: { fragmentRef: CompliancePageS
|
|||||||
</Card>
|
</Card>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</Card>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user