changeset 3429:7bbab09cdf71

client: pdf-template:(minor) add missing parameter
author Fadi Abbud <fadi.abbud@intevation.de>
date Thu, 23 May 2019 16:49:28 +0200
parents 075757ca8fce
children 6994602d2935
files client/src/lib/mixins.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/lib/mixins.js	Thu May 23 16:40:15 2019 +0200
+++ b/client/src/lib/mixins.js	Thu May 23 16:49:28 2019 +0200
@@ -131,7 +131,7 @@
           image.src = "/img/gemma-logo-for-pdf.png";
         }
       }
-      this.pdf.doc.addImage(image, x, y, width, height);
+      this.pdf.doc.addImage(image, format, x, y, width, height);
     },
     // add text at specific coordinates with a background box
     addBox(position, offset, width, height, rounding, color, brcolor) {