From 900400f494af36bdd523ee299814d2a01f66b806 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Jim=C3=A9nez?= Date: Thu, 23 Jan 2025 23:38:11 +0100 Subject: [PATCH] arreglado el error en la vista --- httpdocs/assets/js/safekat/components/preview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpdocs/assets/js/safekat/components/preview.js b/httpdocs/assets/js/safekat/components/preview.js index 269e8888..8f3744dc 100644 --- a/httpdocs/assets/js/safekat/components/preview.js +++ b/httpdocs/assets/js/safekat/components/preview.js @@ -115,7 +115,7 @@ class previewFormas { //console.log(pvObj); // Printing shape definition - this.pvObj.anchoForma = (_isCosido) ? 2 * this.pvObj.anchoLibro : this.pvObj.anchoLibro; + this.pvObj.anchoForma = parseInt(_isCosido) ? 2 * this.pvObj.anchoLibro : this.pvObj.anchoLibro; this.pvObj.altoForma = this.pvObj.altoLibro;