mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-10 19:28:51 +00:00
lower opacity for command input while its not ready
This commit is contained in:
+1
-1
@@ -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"
|
||||
|
||||
+1
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user