From bd07f3257372d0847b92179bb734c84a2319d132 Mon Sep 17 00:00:00 2001 From: Selmen AKRMI Date: Tue, 26 Nov 2024 14:29:01 +0100 Subject: [PATCH] feat(pci-object-storage): fix 3az price ref: TAPC-2301 Signed-off-by: Selmen AKRMI --- .../project/storages/containers/add/add.controller.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/manager/modules/pci/src/projects/project/storages/containers/add/add.controller.js b/packages/manager/modules/pci/src/projects/project/storages/containers/add/add.controller.js index 86f47f9801dd..d8f5832592a1 100644 --- a/packages/manager/modules/pci/src/projects/project/storages/containers/add/add.controller.js +++ b/packages/manager/modules/pci/src/projects/project/storages/containers/add/add.controller.js @@ -18,7 +18,7 @@ import { OBJECT_CONTAINER_OFFER_SWIFT, OBJECT_CONTAINER_MODE_MULTI_ZONES, OBJECT_CONTAINER_MODE_MONO_ZONE, - STORAGE_STANDARD_PLANCODE, + STORAGE_STANDARD_REGION_PLANCODE, SWIFT_PLANCODE, OBJECT_CONTAINER_MODE_LOCAL_ZONE, DEPLOYMENT_MODE_LINK, @@ -197,7 +197,7 @@ export default class PciStoragesContainersAddController { this.OBJECT_CONTAINER_OFFERS_LABELS[ OBJECT_CONTAINER_OFFER_STORAGE_STANDARD ].price = this.PriceFormatter.format( - this.calculatePrice(STORAGE_STANDARD_PLANCODE), + this.calculatePrice(STORAGE_STANDARD_REGION_PLANCODE), ); this.OBJECT_CONTAINER_OFFERS_LABELS[ @@ -239,7 +239,7 @@ export default class PciStoragesContainersAddController { this.coreConfig.getUser().ovhSubsidiary, ).then((productCapabilities) => { const productCapability = productCapabilities.plans?.filter((plan) => - plan.code?.startsWith(STORAGE_STANDARD_PLANCODE), + plan.code?.startsWith(STORAGE_STANDARD_REGION_PLANCODE), ); this.OBJECT_CONTAINER_DEPLOYMENT_MODES_LABELS[