summaryrefslogtreecommitdiff
path: root/scraper/client/paper
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-05-03 16:01:28 +0200
committerJules Laplace <julescarbon@gmail.com>2019-05-03 16:01:28 +0200
commit2eb49d6ff2ab2d0134c394bff53acea236cabd94 (patch)
tree8fba7c437b766e02405c440c050f1f8f4baaacf3 /scraper/client/paper
parentec7a684bed676045d766bc2d2651f9cfcab26f15 (diff)
surface references
Diffstat (limited to 'scraper/client/paper')
-rw-r--r--scraper/client/paper/citationList.component.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/scraper/client/paper/citationList.component.js b/scraper/client/paper/citationList.component.js
index 002c0dcb..2241d256 100644
--- a/scraper/client/paper/citationList.component.js
+++ b/scraper/client/paper/citationList.component.js
@@ -76,6 +76,10 @@ class CitationList extends Component {
? <span className='unverified'>{"doesn't use dataset"}</span>
: <span className='not_enough_info'>{"not enough information"}</span>
}
+ cite.reference = verification.reference
+ if (verification.notes) {
+ cite.notes = verification.notes
+ }
}
else {
cite.verified = {
@@ -89,7 +93,7 @@ class CitationList extends Component {
summary
object={cite}
tag={cite.title}
- order={['id', 'pdf', 's2', 'year', 'addresses', 'verified']}
+ order={['id', 'pdf', 's2', 'year', 'addresses', 'verified', 'reference', 'notes']}
/>
</li>
)