Fixed missing initial value in scraper reduce, breaking first network (21 Naturals).

This commit is contained in:
DebaucheryLibrarian 2020-12-19 00:19:38 +01:00
parent ddf0958c04
commit 4ccd8bf07a
3 changed files with 13 additions and 4 deletions

View File

@ -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 {

View File

@ -99,6 +99,16 @@ function initEntitiesActions(store, router) {
} }
} }
} }
{
parent: {
parent: {
parent: {
slug: { equalTo: $entitySlug }
type: { equalTo: $entityType }
}
},
},
},
] ]
} }
} }

View File

@ -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 } }), {}),
}; };