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 = ` const releasePosterFragment = `
poster: releasesMediasByTargetId(condition: { role: "poster" }) { poster: releasesMediasByTargetId(condition: { role: "poster" }) {
index index
path path
thumbnail thumbnail
comment
} }
`; `;
const releasePhotosFragment = ` const releasePhotosFragment = `
photos: releasesMediasByTargetId(condition: { role: "photo" }) { photos: releasesMediasByTargetId(condition: { role: "photo" }) {
index index
path path
thumbnail thumbnail
comment
} }
`; `;

View File

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