Added comment to poster and photo fragment.

This commit is contained in:
ThePendulum 2019-12-16 05:32:09 +01:00
parent 6950a76cb5
commit 3845c3f52d
2 changed files with 10 additions and 6 deletions

View File

@ -46,17 +46,19 @@ const releaseTagsFragment = `
const releasePosterFragment = `
poster: releasesMediasByTargetId(condition: { role: "poster" }) {
index
path
thumbnail
index
path
thumbnail
comment
}
`;
const releasePhotosFragment = `
photos: releasesMediasByTargetId(condition: { role: "photo" }) {
index
path
thumbnail
index
path
thumbnail
comment
}
`;

View File

@ -35,11 +35,13 @@ function initTagsActions(store, _router) {
id
thumbnail
path
comment
}
photos: tagsMediasByTargetId(condition: { role: "photo" }) {
id
thumbnail
path
comment
}
releases: releasesTags {
tagRelease {