Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix: correct mutli-line encoding checkmark display and copy when batch edit functionality is enabled
Scott Wilsond38605fd6fed
diff --git a/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretEditTableRow.tsx b/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretEditTableRow.tsxindex e17c641ce9..a7add59a98 100644--- a/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretEditTableRow.tsx+++ b/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretEditTableRow.tsx@@ -680,7 +680,9 @@ export const SecretEditTableRow = ({const handleCopySharedToClipboard = async () => {try {- if (isPendingCreate) {+ if (isPendingCreate || (isBatchMode && hasPendingValueChange)) {+ // In batch mode with a queued value change, copy the pending value shown in the field+ // rather than refetching the (stale) committed server value.await window.navigator.clipboard.writeText((watchedValue as string) ?? "");} else {const { data } = await refetchSharedValue();@@ -1627,7 +1629,7 @@ export const SecretEditTableRow = ({><TooltipTrigger className="block w-full"><DropdownMenuCheckboxItem- checked={!skipMultilineEncoding}+ checked={skipMultilineEncoding}disabled={isPendingDelete ||isCreatable ||