Added various conditions to prevent errors and warnings.
This commit is contained in:
@@ -13,6 +13,10 @@ function initActorActions(store, router) {
|
||||
pageNumber = 1,
|
||||
range = 'latest',
|
||||
}) {
|
||||
if (!actorId) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const { before, after, orderBy } = getDateRange(range);
|
||||
const includedTags = router.currentRoute.value.query.tags ? router.currentRoute.value.query.tags.split(',') : [];
|
||||
const mode = router.currentRoute.value.query.mode || 'all';
|
||||
|
||||
Reference in New Issue
Block a user