From aaee855da3a7c289200bdd784cc80e3b94633f46 Mon Sep 17 00:00:00 2001 From: bernat Date: Thu, 3 Dec 2020 10:26:49 +0100 Subject: [PATCH] fix ticket component --- modules/ticket/front/component/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ticket/front/component/index.js b/modules/ticket/front/component/index.js index 2a5988719..307f8af15 100644 --- a/modules/ticket/front/component/index.js +++ b/modules/ticket/front/component/index.js @@ -39,7 +39,7 @@ class Controller extends Section { if (!value) return; this.getTheoricalCost(); this.getComponentsSum(); - if (this.ticket.zone.isVolumetric) + if (this.ticket.zone && this.ticket.zone.isVolumetric) this.getTicketVolume(); } -- 2.40.1