Skip to content

Commit

Permalink
Setting blank media flag for standalone claims/fact-checks created fr…
Browse files Browse the repository at this point in the history
…om the interface.

See referenced ticket for better context.

Reference: CV2-5900.
  • Loading branch information
caiosba committed Jan 14, 2025
1 parent 0e203e8 commit c33ac49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/components/article/ClaimFactCheckForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ const ClaimFactCheckForm = ({
const input = { ...claim };
if (projectMedia) {
input.project_media_id = projectMedia.dbid;
} else {
input.enable_create_blank_media = true;
}
commitMutation(Relay.Store, {
mutation: createClaimMutation,
Expand Down

0 comments on commit c33ac49

Please sign in to comment.