Skip to content

Commit

Permalink
Merge pull request #13873 from openshift-cherrypick-robot/cherry-pick…
Browse files Browse the repository at this point in the history
…-13852-to-release-4.16

[release-4.16] OCPBUGS-33989: Updating the secrets using Form editor displays an unknown warning message
  • Loading branch information
openshift-merge-bot[bot] committed May 29, 2024
2 parents f8c0696 + 46e8a74 commit 3682b58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/public/components/secrets/create-secret.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,8 @@ export const SecretLoadingWrapper = withTranslation()(
if (!secretTypeAbstraction) {
return <LoadingBox />;
}
const fixed = _.reduce(fixedKeys, (acc, k) => ({ ...acc, k: _.get(obj.data, k) }), {});
const fixed = fixedKeys?.reduce((acc, k) => ({ ...acc, [k]: obj.data?.[k] || '' }), {});

return (
<StatusBox {...obj}>
<SecretFormWrapper
Expand Down

0 comments on commit 3682b58

Please sign in to comment.