mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 15:28:25 +00:00
lint + fixes
This commit is contained in:
+5
-3
@@ -14,17 +14,19 @@ export const RelayOption = ({
|
|||||||
return (
|
return (
|
||||||
<components.Option isSelected={isSelected} {...props}>
|
<components.Option isSelected={isSelected} {...props}>
|
||||||
<div className="flex flex-row items-center justify-between">
|
<div className="flex flex-row items-center justify-between">
|
||||||
{isCreateOption ? (
|
{isCreateOption && (
|
||||||
<div className="flex items-center gap-x-1 text-mineshaft-400">
|
<div className="flex items-center gap-x-1 text-mineshaft-400">
|
||||||
<FontAwesomeIcon icon={faPlus} size="sm" />
|
<FontAwesomeIcon icon={faPlus} size="sm" />
|
||||||
<span className="mr-auto">Deploy New Relay</span>
|
<span className="mr-auto">Deploy New Relay</span>
|
||||||
</div>
|
</div>
|
||||||
) : isAutoOption ? (
|
)}
|
||||||
|
{isAutoOption && (
|
||||||
<div className="flex items-center gap-x-1 text-mineshaft-400">
|
<div className="flex items-center gap-x-1 text-mineshaft-400">
|
||||||
<FontAwesomeIcon icon={faWandMagicSparkles} size="sm" />
|
<FontAwesomeIcon icon={faWandMagicSparkles} size="sm" />
|
||||||
<span className="mr-auto">Auto Select Relay</span>
|
<span className="mr-auto">Auto Select Relay</span>
|
||||||
</div>
|
</div>
|
||||||
) : (
|
)}
|
||||||
|
{!isCreateOption && !isAutoOption && (
|
||||||
<>
|
<>
|
||||||
<p className="truncate">{children}</p>
|
<p className="truncate">{children}</p>
|
||||||
{isSelected && (
|
{isSelected && (
|
||||||
|
|||||||
Reference in New Issue
Block a user