comparison client/src/components/systemconfiguration/PDFTemplates.vue @ 3251:b3333311de42

client: pdf-template:(minor) add error title
author Fadi Abbud <fadi.abbud@intevation.de>
date Tue, 14 May 2019 12:10:45 +0200
parents e9c143436432
children 63322cd63a57
comparison
equal deleted inserted replaced
3250:246754028bf4 3251:b3333311de42
132 checkUpload() { 132 checkUpload() {
133 if (this.type) { 133 if (this.type) {
134 this.$refs.uploadTemplate.click(); 134 this.$refs.uploadTemplate.click();
135 } else { 135 } else {
136 displayError({ 136 displayError({
137 title: this.$gettext("Error"),
137 message: this.$gettext("Please select template type") 138 message: this.$gettext("Please select template type")
138 }); 139 });
139 } 140 }
140 }, 141 },
141 downloadTemplate(template) { 142 downloadTemplate(template) {