Be able to embed logo (base64)

This commit is contained in:
HenriT
2021-02-27 00:49:51 +02:00
parent b859309312
commit b1f68d5749
3 changed files with 34 additions and 8 deletions

View File

@ -46,9 +46,9 @@ export default {
close() {
this.isOpen = false;
},
onSelected(content) {
onSelected(payload) {
try {
const data = JSON.parse(content);
const data = JSON.parse(payload.content);
this.$store.dispatch('data/importJson', data);
this.close();