From 3845c3f52d5fa6e25e22e2e5cea2d71dd5304c3e Mon Sep 17 00:00:00 2001 From: Niels Simenon Date: Mon, 16 Dec 2019 05:32:09 +0100 Subject: [PATCH] Added comment to poster and photo fragment. --- assets/js/fragments.js | 14 ++++++++------ assets/js/tags/actions.js | 2 ++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/assets/js/fragments.js b/assets/js/fragments.js index 7af033c4..2e4c24d7 100644 --- a/assets/js/fragments.js +++ b/assets/js/fragments.js @@ -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 } `; diff --git a/assets/js/tags/actions.js b/assets/js/tags/actions.js index 9fcdcaa4..328605bb 100644 --- a/assets/js/tags/actions.js +++ b/assets/js/tags/actions.js @@ -35,11 +35,13 @@ function initTagsActions(store, _router) { id thumbnail path + comment } photos: tagsMediasByTargetId(condition: { role: "photo" }) { id thumbnail path + comment } releases: releasesTags { tagRelease {