forked from DebaucheryLibrarian/traxxx
Changed range filter to routes for every view.
This commit is contained in:
@@ -46,7 +46,7 @@ function curateActor(actor) {
|
||||
}
|
||||
|
||||
function initActorActions(store, _router) {
|
||||
async function fetchActorBySlug({ _commit }, { slug, limit = 100, range = 'latest' }) {
|
||||
async function fetchActorBySlug({ _commit }, { actorSlug, limit = 100, range = 'latest' }) {
|
||||
const { before, after, orderBy } = getDateRange(range);
|
||||
|
||||
const { actor } = await graphql(`
|
||||
@@ -171,7 +171,7 @@ function initActorActions(store, _router) {
|
||||
}
|
||||
}
|
||||
`, {
|
||||
actorSlug: slug,
|
||||
actorSlug,
|
||||
limit,
|
||||
after,
|
||||
before,
|
||||
|
||||
Reference in New Issue
Block a user