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',
|
currentType: this.mbType || 'artist',
|
||||||
currentId: this.mbId,
|
currentId: this.mbId,
|
||||||
currentStep: 0,
|
currentStep: 0,
|
||||||
currentSource: '',
|
currentSource: this.source,
|
||||||
metadata: {},
|
metadata: {},
|
||||||
isImporting: false,
|
isImporting: false,
|
||||||
importData: {
|
importData: {
|
||||||
|
|
|
@ -98,7 +98,10 @@ export default new Router({
|
||||||
path: 'import/launch',
|
path: 'import/launch',
|
||||||
name: 'library.import.launch',
|
name: 'library.import.launch',
|
||||||
component: LibraryImport,
|
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',
|
path: 'import/batches',
|
||||||
|
|
Loading…
Reference in New Issue