Skip to content

Commit

Permalink
fix(dedicated): hide nsx edge tile on other products
Browse files Browse the repository at this point in the history
ref: MANAGER-16422

Signed-off-by: Thibaud Crespin <[email protected]>
  • Loading branch information
Thibaud Crespin committed Jan 9, 2025
1 parent 74c5307 commit 04553ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@
<oui-tile
data-heading="{{:: 'dedicatedCloud_nsx_edge_title' | translate }}"
data-loading="$ctrl.loading"
data-ng-if="$ctrl.datacenter.model.isNsxCommercialRangeName"
>
<oui-tile-definition
data-term="{{:: 'dedicatedCloud_nsx_edge_level' | translate }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
VDC_MIRGRATION_GUIDE_LINK,
TRACKING_NEW_PRODUCT_BANNER,
} from './dedicatedCloud-datacenter.constants';
import { VDC_TYPE } from './vmware-vdc-add/dedicatedCloud-vmware-vdc-add.constants';

export default class {
/* @ngInject */
Expand All @@ -24,6 +25,7 @@ export default class {
)
.then((data) => {
this.isEOLDatacenter = COMMERCIAL_RANGE_NAME_EOL.includes(data);
this.datacenter.model.isNsxCommercialRangeName = data === VDC_TYPE.NSX;
this.guideMigration =
VDC_MIRGRATION_GUIDE_LINK[this.ovhSubsidiary] ||
VDC_MIRGRATION_GUIDE_LINK.DEFAULT;
Expand Down

0 comments on commit 04553ca

Please sign in to comment.