Skip to content

Conversation

@sefiani-ovh
Copy link
Contributor

ref: #MANAGER-20823

ref: #MANAGER-20823

Signed-off-by: ahmed sefiani <ahmed.sefiani.ext@corp.ovh.com>
@sefiani-ovh sefiani-ovh requested a review from a team as a code owner February 10, 2026 14:27
@github-actions github-actions bot added the bug Something isn't working label Feb 10, 2026
}

const currentState = vcdDatacentre?.data?.currentState;
const displayPublicIpBlocksTile =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const displayPublicIpBlocksTile =
const showPublicIpBlocksTile =
Suggested change
const displayPublicIpBlocksTile =
const isPublicIpBlocksTileDisplayed =

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can create a very little function to avoid declare 2 cont :

const isStandard = (currentState) => !!currentState?.vrack && currentState?.commercialRange === 'STANDARD';

And in bonus it's testabled 😇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants