diff client/src/lib/mixins.js @ 3408:a26c1d745fc3

client: pdf-template: fix display of user and move property to mixins.js
author Fadi Abbud <fadi.abbud@intevation.de>
date Thu, 23 May 2019 13:39:04 +0200
parents 1ba669cbbee6
children 7bbab09cdf71
line wrap: on
line diff
--- a/client/src/lib/mixins.js	Thu May 23 13:37:35 2019 +0200
+++ b/client/src/lib/mixins.js	Thu May 23 13:39:04 2019 +0200
@@ -64,7 +64,8 @@
 
 export const pdfgen = {
   computed: {
-    ...mapState("application", ["logoForPDF"])
+    ...mapState("application", ["logoForPDF"]),
+    ...mapState("user", ["user"])
   },
   methods: {
     // add text at specific coordinates and determine how many wrolds in a single line