Added Evil Angel channels with logos.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user