diff client/src/lib/mixins.js @ 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 a26c1d745fc3
children afab8d87932c
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) {