From 0f7c6e7088a4098097101449863d9411c5248d6e Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 22 Mar 2019 11:21:07 +0100 Subject: fixing --- scraper/client/paper/paper.verify.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scraper/client/paper/paper.verify.js b/scraper/client/paper/paper.verify.js index 98692588..a723052d 100644 --- a/scraper/client/paper/paper.verify.js +++ b/scraper/client/paper/paper.verify.js @@ -11,12 +11,13 @@ import { Loader, Autocomplete } from '../common' const initialState = { citation: null, uses_dataset: false, - doesnt_use_dataset: false, + doesnt_use_dataset: true, images_in_paper: false, verified_by: '', notes: '', pdf_index: 0, } + class PaperVerify extends Component { state = { ...initialState @@ -90,6 +91,7 @@ class PaperVerify extends Component { this.props.actions.postVerification({ paper_id: this.state.citation.id, title: this.state.citation.title, + dataset: this.props.api.paperInfo.dataset.key, uses_dataset: this.state.uses_dataset, doesnt_use_dataset: this.state.doesnt_use_dataset, images_in_paper: this.state.images_in_paper, @@ -166,7 +168,7 @@ class PaperVerify extends Component { {'[semantic scholar]'} @@ -204,11 +206,11 @@ class PaperVerify extends Component { this.setState({ - images_in_paper: !e.target.checked, + images_in_paper: e.target.checked, })} /> -- cgit v1.2.3-70-g09d2