Skip to content

Commit

Permalink
feat(pci-object-storage): fix 3az price
Browse files Browse the repository at this point in the history
ref: TAPC-2301
Signed-off-by: Selmen AKRMI <[email protected]>
  • Loading branch information
Selmen AKRMI committed Nov 26, 2024
1 parent 94b6c21 commit bd07f32
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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[
Expand Down Expand Up @@ -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[
Expand Down

0 comments on commit bd07f32

Please sign in to comment.