Skip to content

Commit 4896b56

Browse files
Merge pull request #15987 from openshift-cherrypick-robot/cherry-pick-15984-to-release-4.20
[release-4.20] OCPBUGS-75880: Fix referenceFor parameter in SubscriptionDetailsPage
2 parents ed2d722 + ea25c54 commit 4896b56

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

frontend/packages/operator-lifecycle-manager/src/components/subscription.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,11 @@ export const SubscriptionDetailsPage: React.FC<SubscriptionDetailsPageProps> = (
772772
},
773773
]}
774774
customActionMenu={(kindObj: K8sModel, obj: K8sResourceKind) => (
775-
<LazyActionMenu context={{ [referenceFor(kindObj)]: obj }} />
775+
<LazyActionMenu
776+
context={{
777+
[referenceFor(obj)]: obj,
778+
}}
779+
/>
776780
)}
777781
/>
778782
);

0 commit comments

Comments
 (0)