Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

lower opacity for command input while its not ready

x03220591bcc22d1b87
diff --git a/frontend/src/pages/organization/NetworkingPage/components/GatewayTab/components/DeployGatewayModal.tsx b/frontend/src/pages/organization/NetworkingPage/components/GatewayTab/components/DeployGatewayModal.tsx
index 010126a41c..53e061eb53 100644
--- a/frontend/src/pages/organization/NetworkingPage/components/GatewayTab/components/DeployGatewayModal.tsx
+++ b/frontend/src/pages/organization/NetworkingPage/components/GatewayTab/components/DeployGatewayModal.tsx
@@ -211,7 +211,7 @@ export const DeployGatewayModal = ({ isOpen, onOpenChange }: Props) => {
<FormLabel label="CLI Command" className="mt-4" />
<div className="flex gap-2">
- <Input value={command} isDisabled isError={!isCommandReady} />
+ <Input value={command} isDisabled className={isCommandReady ? "" : "opacity-50"} />
<IconButton
ariaLabel="copy"
variant="outline_bg"
diff --git a/frontend/src/pages/organization/NetworkingPage/components/GatewayTab/components/DeployRelayModal.tsx b/frontend/src/pages/organization/NetworkingPage/components/GatewayTab/components/DeployRelayModal.tsx
index 4000bfab94..61501c40fa 100644
--- a/frontend/src/pages/organization/NetworkingPage/components/GatewayTab/components/DeployRelayModal.tsx
+++ b/frontend/src/pages/organization/NetworkingPage/components/GatewayTab/components/DeployRelayModal.tsx
@@ -171,7 +171,7 @@ export const DeployRelayModal = ({ isOpen, onOpenChange }: Props) => {
<FormLabel label="CLI Command" className="mt-4" />
<div className="flex gap-2">
- <Input value={command} isDisabled isError={!isCommandReady} />
+ <Input value={command} isDisabled className={isCommandReady ? "" : "opacity-50"} />
<IconButton
ariaLabel="copy"
variant="outline_bg"