Added favorite stash heart to scene tiles.

This commit is contained in:
DebaucheryLibrarian
2021-03-19 03:27:48 +01:00
parent f3d55806d1
commit 731a2792c5
15 changed files with 146 additions and 28 deletions

View File

@@ -9,6 +9,8 @@ function initReleasesActions(store, router) {
const { connection: { releases, totalCount } } = await graphql(`
query Releases(
$hasAuth: Boolean!
$userId: Int
$limit:Int = 1000,
$offset:Int = 0,
$after:Datetime = "1900-01-01 00:00:00",
@@ -19,6 +21,8 @@ function initReleasesActions(store, router) {
${releasesFragment}
}
`, {
hasAuth: !!store.state.auth.user,
userId: store.state.auth.user?.id,
limit,
offset: Math.max(0, (pageNumber - 1)) * limit,
after,