Merge pull request 'fix ticket component' (#473) from 2656-ticket_component into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #473
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
Javi Gallego 2020-12-03 09:30:53 +00:00
commit 5bfc8a546d
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}