Skip to content

Commit

Permalink
Merge pull request #1424 from sgratch/set-empty-cacert-field-as-undef…
Browse files Browse the repository at this point in the history
…ined

Reading the cacert field value as undefined in case it's empty
  • Loading branch information
metalice authored Dec 31, 2024
2 parents 3e0e3bc + a19c2a3 commit b37b717
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const CertificateUpload: FC<CertificateUploadProps> = ({
<FetchCertificateModal
url={url}
handleSave={(v) => onTextChange(null, v)}
existingCert={String(value)}
existingCert={value ? String(value) : undefined}
/>,
);
};
Expand Down

0 comments on commit b37b717

Please sign in to comment.