mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-17 23:00:14 +00:00
fix: alert component styles
This commit is contained in:
+2
-3
@@ -1,5 +1,5 @@
|
||||
import Link from "next/link";
|
||||
import { faArrowRight, faExclamationTriangle, faXmark } from "@fortawesome/free-solid-svg-icons";
|
||||
import { faArrowRight, faXmark } from "@fortawesome/free-solid-svg-icons";
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import { integrationSlugNameMapping } from "public/data/frequentConstants";
|
||||
|
||||
@@ -55,8 +55,7 @@ export const IntegrationsSection = ({
|
||||
|
||||
{!bot?.isActive && (
|
||||
<div className="px-6 py-4">
|
||||
<Alert variant="warning">
|
||||
<FontAwesomeIcon icon={faExclamationTriangle} />
|
||||
<Alert hideTitle variant="warning">
|
||||
<AlertDescription>
|
||||
All the active integrations will be disabled. Disable End-to-End Encryption in{" "}
|
||||
<Link href={`/project/${currentWorkspace?._id}/settings`} passHref>
|
||||
|
||||
+1
-6
@@ -1,12 +1,9 @@
|
||||
import { faExclamationTriangle } from "@fortawesome/free-solid-svg-icons";
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
|
||||
import { ProjectPermissionCan } from "@app/components/permissions";
|
||||
import {
|
||||
decryptAssymmetric,
|
||||
encryptAssymmetric
|
||||
} from "@app/components/utilities/cryptography/crypto";
|
||||
import { Alert, AlertDescription, AlertTitle, Checkbox } from "@app/components/v2";
|
||||
import { Alert, AlertDescription, Checkbox } from "@app/components/v2";
|
||||
import { ProjectPermissionActions, ProjectPermissionSub, useWorkspace } from "@app/context";
|
||||
import { useGetUserWsKey, useGetWorkspaceBot, useUpdateBotActiveStatus } from "@app/hooks/api";
|
||||
|
||||
@@ -107,8 +104,6 @@ export const E2EESection = () => {
|
||||
</div>
|
||||
<div>
|
||||
<Alert variant="warning">
|
||||
<FontAwesomeIcon icon={faExclamationTriangle} />
|
||||
<AlertTitle>Warning !</AlertTitle>
|
||||
<AlertDescription>
|
||||
Enabling End-to-end encryption disables all the integrations
|
||||
</AlertDescription>
|
||||
|
||||
Reference in New Issue
Block a user