changeset 3138:106e1d011a5d

client: pdf-gen: include the diagram elements in the upload template constraint
author Fadi Abbud <fadi.abbud@intevation.de>
date Thu, 02 May 2019 11:14:58 +0200
parents 35c0da49eb89
children 5daaabc2e7fc
files client/src/components/systemconfiguration/PDFTemplates.vue
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/systemconfiguration/PDFTemplates.vue	Thu May 02 10:46:50 2019 +0200
+++ b/client/src/components/systemconfiguration/PDFTemplates.vue	Thu May 02 11:14:58 2019 +0200
@@ -181,7 +181,9 @@
                 "legend",
                 "scalebar",
                 "scale",
-                "northarrow"
+                "northarrow",
+                "diagramlegend",
+                "diagramtitle"
               ].indexOf(e.type) === -1
             ) {
               checkElement = true;