Skip to content

Commit

Permalink
Auto-refresh when saving claim context. (#2099)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
caiosba authored Sep 11, 2024
1 parent 83a9895 commit 1770be5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/components/article/ClaimFactCheckForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const updateClaimMutation = graphql`
id
dbid
updated_at
context
description
user {
name
Expand Down Expand Up @@ -77,6 +78,8 @@ const createFactCheckMutation = graphql`
totalArticlesCount: articles_count
}
claim_description {
description
context
project_media {
title
title_field
Expand Down Expand Up @@ -126,6 +129,8 @@ const updateFactCheckMutation = graphql`
name
}
claim_description {
description
context
project_media {
title
title_field
Expand Down

0 comments on commit 1770be5

Please sign in to comment.