changeset 3406:1ba669cbbee6

client: pdf-template:(minor) add missed parameter for image element
author Fadi Abbud <fadi.abbud@intevation.de>
date Thu, 23 May 2019 13:09:49 +0200
parents 2b5c22f6bb1f
children 7ea54c3b3fd6
files client/src/lib/mixins.js
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/lib/mixins.js	Thu May 23 12:53:19 2019 +0200
+++ b/client/src/lib/mixins.js	Thu May 23 13:09:49 2019 +0200
@@ -13,6 +13,7 @@
  * Fadi Abbud <fadi.abbud@intevation.de>
  */
 import locale2 from "locale2";
+import { mapState } from "vuex";
 export const sortTable = {
   data() {
     return {
@@ -62,6 +63,9 @@
 };
 
 export const pdfgen = {
+  computed: {
+    ...mapState("application", ["logoForPDF"])
+  },
   methods: {
     // add text at specific coordinates and determine how many wrolds in a single line
     addText(position, offset, width, fontSize, color, text) {