diff --git a/ui/packages/consul-ui/app/components/hcp-nav-item/index.js b/ui/packages/consul-ui/app/components/hcp-nav-item/index.js index 1de939d356..741de542de 100644 --- a/ui/packages/consul-ui/app/components/hcp-nav-item/index.js +++ b/ui/packages/consul-ui/app/components/hcp-nav-item/index.js @@ -52,7 +52,6 @@ export default class HcpLinkItemComponent extends Component { @action onLinkToConsulCentral() { - this.hcpLinkModal.setResourceId(this.args.linkData?.resourceId); this.hcpLinkModal.show(); } } diff --git a/ui/packages/consul-ui/app/components/link-to-hcp-banner/index.js b/ui/packages/consul-ui/app/components/link-to-hcp-banner/index.js index 3f96ac261f..22574aed52 100644 --- a/ui/packages/consul-ui/app/components/link-to-hcp-banner/index.js +++ b/ui/packages/consul-ui/app/components/link-to-hcp-banner/index.js @@ -22,7 +22,6 @@ export default class LinkToHcpBannerComponent extends Component { } @action onClusterLink() { - this.hcpLinkModal.setResourceId(this.args.linkData?.resourceId); this.hcpLinkModal.show(); } } diff --git a/ui/packages/consul-ui/app/components/link-to-hcp-modal/index.hbs b/ui/packages/consul-ui/app/components/link-to-hcp-modal/index.hbs index bdabe3b2e5..eda5204a10 100644 --- a/ui/packages/consul-ui/app/components/link-to-hcp-modal/index.hbs +++ b/ui/packages/consul-ui/app/components/link-to-hcp-modal/index.hbs @@ -97,7 +97,7 @@ @icon="external-link" @iconPosition="trailing" data-test-link-to-hcp-modal-next-button - @href={{hcp-authentication-link this.hcpLinkModal.resourceId this.accessLevel}} + @href={{hcp-authentication-link @dc this.accessLevel}} />