From 1770be5a15e5279d8436cb535a5a933a712abc19 Mon Sep 17 00:00:00 2001 From: Caio Almeida <117518+caiosba@users.noreply.github.com> Date: Wed, 11 Sep 2024 16:39:07 -0300 Subject: [PATCH] Auto-refresh when saving claim context. (#2099) When saving the claim context field from teh "edit article" form in the item page, make sure that the values auto-refreshed so the new saved value is reflected in the article card and in the slideout form. Fixes: CV2-5269. --- src/app/components/article/ClaimFactCheckForm.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app/components/article/ClaimFactCheckForm.js b/src/app/components/article/ClaimFactCheckForm.js index 41a4377d2d..3dc8072d95 100644 --- a/src/app/components/article/ClaimFactCheckForm.js +++ b/src/app/components/article/ClaimFactCheckForm.js @@ -15,6 +15,7 @@ const updateClaimMutation = graphql` id dbid updated_at + context description user { name @@ -77,6 +78,8 @@ const createFactCheckMutation = graphql` totalArticlesCount: articles_count } claim_description { + description + context project_media { title title_field @@ -126,6 +129,8 @@ const updateFactCheckMutation = graphql` name } claim_description { + description + context project_media { title title_field