feat: updated ui replication text and approval replication flag

This commit is contained in:
Akhil Mohan
2024-05-31 23:10:01 +05:30
committed by =
parent 51c1487ed1
commit a11f120a83
9 changed files with 38 additions and 25 deletions
@@ -144,8 +144,7 @@ export const CreateSecretImportForm = ({
defaultValue={false}
render={({ field }) => (
<Checkbox isChecked={field.value} onCheckedChange={field.onChange} id="isReplication">
The replication mode retrieves secrets when changes occur in the specified
environment and secret path.
Enable replication mode to synchronize changes across boards.
</Checkbox>
)}
/>
@@ -156,7 +156,7 @@ export const SecretImportItem = ({
</ProjectPermissionCan>
</div>
</div>
{isExpanded && !isDragging && (
{!isReplication && isExpanded && !isDragging && (
<td
colSpan={3}
className={`bg-bunker-800 ${isExpanded && "border-b-2 border-mineshaft-500"}`}