fix ticket component
gitea/salix/pipeline/head Build started... Details

This commit is contained in:
Bernat Exposito 2020-12-03 10:26:49 +01:00
parent 5dbf4f3926
commit aaee855da3
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();
}