Skip to content

Commit ea25c54

Browse files
rhamiltoclaude
authored andcommitted
OCPBUGS-74647: Fix referenceFor parameter in SubscriptionDetailsPage
The customActionMenu was incorrectly passing kindObj to referenceFor, when it should be passing obj. This aligns with the proper usage pattern for the referenceFor utility function. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent ed2d722 commit ea25c54

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)