Fixed source not passed from query in import route

This commit is contained in:
Eliot Berriot 2018-02-21 19:44:23 +01:00
parent 26e6459959
commit 64290465e7
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
2 changed files with 5 additions and 2 deletions

View File

@ -150,7 +150,7 @@ export default {
currentType: this.mbType || 'artist',
currentId: this.mbId,
currentStep: 0,
currentSource: '',
currentSource: this.source,
metadata: {},
isImporting: false,
importData: {

View File

@ -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',