mirror of https://github.com/status-im/consul.git
Hardcode links to CCM to be false (#20732)
Hardcode links to CCM to be false - due to CCM deprecation Remove changelog item for breaking Ui change - since CCM linking no longer exists
This commit is contained in:
parent
3ee926e6b3
commit
a58f346f55
|
@ -1,3 +0,0 @@
|
|||
```release-note:breaking-change
|
||||
ui: Adds a "Link to HCP Consul Central" modal with integration to side-nav and link to HCP banner. There will be an option to disable the Link to HCP banner from the UI in a follow-up release.
|
||||
```
|
|
@ -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() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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 () {
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue