mirror of
https://github.com/mokuappio/serverless-invoices.git
synced 2025-11-02 09:43:16 -05:00
Be able to embed logo (base64)
This commit is contained in:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user