fix: do not show upgrade button on latest version of package (#110764)
This commit is contained in:
parent
b5f69a5aa5
commit
508d045f90
|
@ -220,7 +220,7 @@ export const PackagePoliciesPage = ({ name, version }: PackagePoliciesPanelProps
|
|||
const hasUpgrade =
|
||||
!!updatableIntegrationRecord &&
|
||||
updatableIntegrationRecord.policiesToUpgrade.some(
|
||||
({ id }) => id === packagePolicy.policy_id
|
||||
({ pkgPolicyId }) => pkgPolicyId === packagePolicy.id
|
||||
);
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in a new issue