Skip to content
Snippets Groups Projects
Verified Commit 64290465 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fixed source not passed from query in import route

parent 26e64599
No related branches found
No related tags found
No related merge requests found
......@@ -150,7 +150,7 @@ export default {
currentType: this.mbType || 'artist',
currentId: this.mbId,
currentStep: 0,
currentSource: '',
currentSource: this.source,
metadata: {},
isImporting: false,
importData: {
......
......@@ -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',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment