Fixes importer failing to save url source link.

This commit is contained in:
mateuswetah 2018-08-02 23:05:27 -03:00
parent 14f5591640
commit 9490f537cf
1 changed files with 1 additions and 1 deletions

View File

@ -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)