comparison client/src/components/systemconfiguration/PDFTemplates.vue @ 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 b9a6abef9f1c
children 94935895e6d7
comparison
equal deleted inserted replaced
3137:35c0da49eb89 3138:106e1d011a5d
179 "image", 179 "image",
180 "bottleneck", 180 "bottleneck",
181 "legend", 181 "legend",
182 "scalebar", 182 "scalebar",
183 "scale", 183 "scale",
184 "northarrow" 184 "northarrow",
185 "diagramlegend",
186 "diagramtitle"
185 ].indexOf(e.type) === -1 187 ].indexOf(e.type) === -1
186 ) { 188 ) {
187 checkElement = true; 189 checkElement = true;
188 displayError({ 190 displayError({
189 title: this.$gettext("Invalid element"), 191 title: this.$gettext("Invalid element"),