From 3c5e150526852eba8f15c5af24d94229349887c1 Mon Sep 17 00:00:00 2001 From: Marko Knepper Date: Wed, 30 Nov 2022 15:20:56 +0100 Subject: [PATCH] Keine Signatur: Fehler --- signaturenDruck/js/renderer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/signaturenDruck/js/renderer.js b/signaturenDruck/js/renderer.js index 05ffdb6..404ddec 100644 --- a/signaturenDruck/js/renderer.js +++ b/signaturenDruck/js/renderer.js @@ -107,7 +107,7 @@ ipcRenderer.on('addSRUdata', function (event, xml, barcode, mode) { swal.fire('Achtung', shelfmark.error, 'error') .then(() => {}) } else { - if (shelfmark.PPN) { + if (shelfmark.txtOneLine.length > 1) { let index = objSRU.all.length objSRU.all[index] = shelfmark objSRU.all[index].id = index + 1