Hardcode links to CCM to be false - due to CCM deprecation (#20784)

pull/20785/head^2
Chris Hut 2024-03-01 12:13:34 -08:00 committed by GitHub
parent 43b5ed1283
commit 161f240720
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 6 additions and 4 deletions

View File

@ -41,7 +41,8 @@ export default class HcpLinkItemComponent extends Component {
return false;
}
return true;
// With the death of Consul Central, we don't want to display the link nav item
return false;
}
get shouldShowBackToHcpItem() {

View File

@ -14,7 +14,8 @@ export default class HcpLinkStatus extends Service {
userDismissedBanner = false;
get shouldDisplayBanner() {
return !this.userDismissedBanner && this.hasPermissionToLink;
// With the death of Consul Central, we don't want to display the link nav item
return false;
}
get hasPermissionToLink() {

View File

@ -12,7 +12,7 @@ const linkToHcpSelector = '[data-test-link-to-hcp]';
const linkToHcpBannerButtonSelector = '[data-test-link-to-hcp-banner-button]';
const linkToHcpModalSelector = '[data-test-link-to-hcp-modal]';
const linkToHcpModalCancelButtonSelector = '[data-test-link-to-hcp-modal-cancel-button]';
module('Acceptance | link to hcp', function (hooks) {
module.skip('Acceptance | link to hcp', function (hooks) {
setupApplicationTest(hooks);
hooks.beforeEach(function () {

View File

@ -86,7 +86,7 @@ module('Integration | Component | hcp nav item', function (hooks) {
});
});
module('when rendered in self managed mode', function (hooks) {
module.skip('when rendered in self managed mode', function (hooks) {
hooks.beforeEach(function () {
this.owner.register(
'service:env',