diff --git a/frontend/public/components/secrets/create-secret/SecretFormWrapper.tsx b/frontend/public/components/secrets/create-secret/SecretFormWrapper.tsx index faeb72e6971..9eedd7150ca 100644 --- a/frontend/public/components/secrets/create-secret/SecretFormWrapper.tsx +++ b/frontend/public/components/secrets/create-secret/SecretFormWrapper.tsx @@ -60,7 +60,7 @@ export const SecretFormWrapper: FCC = (props) => { const [stringData, setStringData] = useState( Object.entries(props.obj?.data ?? {}).reduce>((acc, [key, value]) => { if (isBinary(null, Buffer.from(value, 'base64'))) { - return null; + return acc; } acc[key] = value ? Base64.decode(value) : ''; return acc;