forked from DebaucheryLibrarian/traxxx
Added heart button to actor tiles.
This commit is contained in:
@@ -40,6 +40,27 @@ const sitesFragment = `
|
||||
}
|
||||
`;
|
||||
|
||||
const actorStashesFields = `
|
||||
isStashed
|
||||
isFavorited
|
||||
stashes: stashesActors(
|
||||
filter: {
|
||||
stash: {
|
||||
userId: {
|
||||
equalTo: $userId
|
||||
}
|
||||
}
|
||||
}
|
||||
) @include(if: $hasAuth) {
|
||||
stash {
|
||||
id
|
||||
name
|
||||
slug
|
||||
primary
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
const actorFields = `
|
||||
id
|
||||
name
|
||||
@@ -72,6 +93,7 @@ const actorFields = `
|
||||
name
|
||||
alias
|
||||
}
|
||||
${actorStashesFields}
|
||||
`;
|
||||
|
||||
const releaseActorsFragment = `
|
||||
@@ -455,6 +477,7 @@ function getIncludedActors(router) {
|
||||
}
|
||||
|
||||
export {
|
||||
actorStashesFields,
|
||||
releaseActorsFragment,
|
||||
releaseFields,
|
||||
releaseTagsFragment,
|
||||
|
||||
Reference in New Issue
Block a user