From 32ec755a356792074d4c8fcf2aced0561d94e621 Mon Sep 17 00:00:00 2001 From: vicent Date: Thu, 28 Apr 2022 08:26:38 +0200 Subject: [PATCH] fix: check if value.length --- modules/ticket/front/volume/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ticket/front/volume/index.js b/modules/ticket/front/volume/index.js index 81491bca0..a3d531898 100644 --- a/modules/ticket/front/volume/index.js +++ b/modules/ticket/front/volume/index.js @@ -20,7 +20,7 @@ class Controller extends Section { set sales(value) { this._sales = value; - if (value) this.applyVolumes(); + if (value && value.length) this.applyVolumes(); } applyVolumes() { -- 2.40.1