Fixes importer failing to save url source link.
This commit is contained in:
parent
14f5591640
commit
9490f537cf
|
@ -298,7 +298,7 @@ export default {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
if (this.importer.accepts.file && !this.importer.accepts.url)
|
if (this.importer.accepts.file && !this.importer.accepts.url)
|
||||||
this.onUploadFile().then(() => { resolve() }).catch((errors) => this.$console.log(errors));
|
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));
|
this.onInputURL().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) {
|
||||||
if (this.importerFile)
|
if (this.importerFile)
|
||||||
|
|
Loading…
Reference in New Issue