Skip to content
Snippets Groups Projects
Commit 8a24cd6c authored by Dmitry Olyenyov's avatar Dmitry Olyenyov
Browse files

Merge branch 'fix/MRM-7436' into 'release/v0.20.1'

fix/MRM-7436 fixed the navigation of services

See merge request mashroom/frontend/main-next!1198
parents 3cc433a0 be83bf47
No related merge requests found
import { Extras_Api_ServiceTypeEnum } from '../../../../graphql-schema-types.generated';
import { ServicePageSlugCodes } from '../../../../lib/service-page-slug-codes';
import { CheckoutActivities } from "../machine/machine-types";
import { Extras_Api_ServiceTypeEnum } from "../../../../graphql-schema-types.generated";
import { ServicePageSlugCodes } from "../../../../lib/service-page-slug-codes";
export const checkoutForms: CheckoutActivities[] = [
"choose_address_form",
......@@ -13,13 +13,17 @@ export const checkoutForms: CheckoutActivities[] = [
];
export const mapSlugToType = {
[ServicePageSlugCodes.RentGuaranteeInsurance] : Extras_Api_ServiceTypeEnum.RentGuaranteeInsurance,
[ServicePageSlugCodes.ContentsInsurance] : Extras_Api_ServiceTypeEnum.ContentsInsurance,
[ServicePageSlugCodes.HomeEmergencyInsurance] : Extras_Api_ServiceTypeEnum.HomeEmergencyInsurance,
[ServicePageSlugCodes.ElectricalInstallationConditionReport] : Extras_Api_ServiceTypeEnum.EicReport,
[ServicePageSlugCodes.ProfessionalPhotography] : Extras_Api_ServiceTypeEnum.PhotosFloorPlan,
[ServicePageSlugCodes.InventoryCheckInCheckOut] : Extras_Api_ServiceTypeEnum.InventoryReport,
[ServicePageSlugCodes.GasSafety] : Extras_Api_ServiceTypeEnum.Certificate,
[ServicePageSlugCodes.EnergyPerformanceCertificate] : Extras_Api_ServiceTypeEnum.Certificate,
[ServicePageSlugCodes.DepositReplacement] : Extras_Api_ServiceTypeEnum.DepositInsurance,
}
[ServicePageSlugCodes.RentGuaranteeInsurance]:
Extras_Api_ServiceTypeEnum.RentGuaranteeInsurance,
[ServicePageSlugCodes.ContentsInsurance]:
Extras_Api_ServiceTypeEnum.ContentsInsurance,
[ServicePageSlugCodes.HomeEmergencyInsurance]:
Extras_Api_ServiceTypeEnum.HomeEmergencyInsurance,
[ServicePageSlugCodes.ElectricalInstallationConditionReport]:
Extras_Api_ServiceTypeEnum.EicReport,
[ServicePageSlugCodes.ProfessionalPhotography]:
Extras_Api_ServiceTypeEnum.PhotosFloorPlan,
[ServicePageSlugCodes.GasSafety]: Extras_Api_ServiceTypeEnum.Certificate,
[ServicePageSlugCodes.EnergyPerformanceCertificate]:
Extras_Api_ServiceTypeEnum.Certificate,
};
export { default } from "../../../features/private/checkout/pages/checkout-page";
\ No newline at end of file
export { default } from "../../../features/public/components/services/insurance/pages/InsurancePages";
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment