Merge branch 'fix/preview_isCosido' into 'main'

arreglado el error en la vista

See merge request jjimenez/safekat!495
This commit is contained in:
2025-01-23 22:38:33 +00:00

View File

@ -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;