Added Evil Angel channels with logos.

This commit is contained in:
DebaucheryLibrarian
2020-09-10 03:17:19 +02:00
parent d081b88af2
commit 0d4893b13c
115 changed files with 434 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ import { releaseFields } from '../fragments';
import { curateEntity } from '../curate';
import getDateRange from '../get-date-range';
function initEntitiesActions(store, _router) {
function initEntitiesActions(store, router) {
async function fetchEntityBySlugAndType({ _commit }, {
entitySlug,
entityType,
@@ -161,6 +161,11 @@ function initEntitiesActions(store, _router) {
exclude: store.state.ui.filter,
});
if (!entity) {
router.replace('/not-found');
return null;
}
return {
entity: curateEntity(entity, null, releases),
totalCount,