Fixed source not passed from query in import route
This commit is contained in:
parent
26e6459959
commit
64290465e7
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue