comparison client/src/components/systemconfiguration/PDFTemplates.vue @ 4454:69166db6ba8a

console.log removed
author Thomas Junk <thomas.junk@intevation.de>
date Mon, 23 Sep 2019 09:19:03 +0200
parents 851c0ccba59b
children 2e47b32a389d
comparison
equal deleted inserted replaced
4453:9b9f60e26b39 4454:69166db6ba8a
270 }); 270 });
271 // allow the user to upload the same file 271 // allow the user to upload the same file
272 this.$refs.uploadTemplate.value = null; 272 this.$refs.uploadTemplate.value = null;
273 } 273 }
274 }; 274 };
275
276 reader.onerror = error => console.log(error);
277 reader.readAsText(this.$refs.uploadTemplate.files[0]); 275 reader.readAsText(this.$refs.uploadTemplate.files[0]);
278 }, 276 },
279 loadTemplates() { 277 loadTemplates() {
280 HTTP.get("/templates", { 278 HTTP.get("/templates", {
281 headers: { 279 headers: {