diff --git a/front/src/components/library/import/Main.vue b/front/src/components/library/import/Main.vue index 66ba8c661..75017c1e6 100644 --- a/front/src/components/library/import/Main.vue +++ b/front/src/components/library/import/Main.vue @@ -150,7 +150,7 @@ export default { currentType: this.mbType || 'artist', currentId: this.mbId, currentStep: 0, - currentSource: '', + currentSource: this.source, metadata: {}, isImporting: false, importData: { diff --git a/front/src/router/index.js b/front/src/router/index.js index 971ef05cd..bf59b8ee8 100644 --- a/front/src/router/index.js +++ b/front/src/router/index.js @@ -98,7 +98,10 @@ export default new Router({ path: 'import/launch', name: 'library.import.launch', component: LibraryImport, - props: (route) => ({ mbType: route.query.type, mbId: route.query.id }) + props: (route) => ({ + source: route.query.source, + mbType: route.query.type, + mbId: route.query.id }) }, { path: 'import/batches',