mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 17:27:16 +00:00
fix: added dirty flag to set fn in dropzone paste secret
This commit is contained in:
@@ -200,7 +200,8 @@ export const SecretDropzone = ({
|
|||||||
if (secrets?.secrets) {
|
if (secrets?.secrets) {
|
||||||
setValue(
|
setValue(
|
||||||
"secrets",
|
"secrets",
|
||||||
secrets?.secrets?.reduce((prev, curr) => ({ ...prev, [curr.key]: curr.value }), {})
|
secrets?.secrets?.reduce((prev, curr) => ({ ...prev, [curr.key]: curr.value }), {}),
|
||||||
|
{ shouldDirty: true }
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user