forked from DebaucheryLibrarian/traxxx
Fixed missing initial value in scraper reduce, breaking first network (21 Naturals).
This commit is contained in:
parent
ddf0958c04
commit
4ccd8bf07a
|
@ -101,8 +101,7 @@ export default {
|
||||||
.actions {
|
.actions {
|
||||||
display: flex;
|
display: flex;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 1rem;
|
padding: 1rem 1rem 2rem 1rem;
|
||||||
margin: 1rem 0 0 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
|
|
|
@ -99,6 +99,16 @@ function initEntitiesActions(store, router) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
parent: {
|
||||||
|
parent: {
|
||||||
|
parent: {
|
||||||
|
slug: { equalTo: $entitySlug }
|
||||||
|
type: { equalTo: $entityType }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -279,6 +279,6 @@ const scrapers = {
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
// add slug for easy internal reference
|
// add slug for easy internal reference
|
||||||
releases: Object.entries(scrapers.releases).reduce((acc, [slug, scraper]) => ({ ...acc, [slug]: { ...scraper, slug } })),
|
releases: Object.entries(scrapers.releases).reduce((acc, [slug, scraper]) => ({ ...acc, [slug]: { ...scraper, slug } }), {}),
|
||||||
actors: Object.entries(scrapers.actors).reduce((acc, [slug, scraper]) => ({ ...acc, [slug]: { ...scraper, slug } })),
|
actors: Object.entries(scrapers.actors).reduce((acc, [slug, scraper]) => ({ ...acc, [slug]: { ...scraper, slug } }), {}),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue