From 9490f537cf5c9202086b380b6d8568c39306b1c2 Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Thu, 2 Aug 2018 23:05:27 -0300 Subject: [PATCH] Fixes importer failing to save url source link. --- src/admin/components/edition/importer-edition-form.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/admin/components/edition/importer-edition-form.vue b/src/admin/components/edition/importer-edition-form.vue index 84f32d905..22aa6ea33 100644 --- a/src/admin/components/edition/importer-edition-form.vue +++ b/src/admin/components/edition/importer-edition-form.vue @@ -298,7 +298,7 @@ export default { return new Promise((resolve, reject) => { if (this.importer.accepts.file && !this.importer.accepts.url) this.onUploadFile().then(() => { resolve() }).catch((errors) => this.$console.log(errors)); - else if (!this.importer.accepts.file && !this.importer.accepts.url) + else if (!this.importer.accepts.file && this.importer.accepts.url) this.onInputURL().then(() => { resolve() }).catch((errors) => this.$console.log(errors)); else if (this.importer.accepts.file && this.importer.accepts.url) { if (this.importerFile)