diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-03-28 16:28:27 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-03-28 16:28:27 +0100 |
| commit | b6a9e2c382ac5e1f6c67040c74077ac03674c549 (patch) | |
| tree | 7294b9d24035f096a0fa70ef3a663cd1c7826e5e /scraper/client/paper/citationList.component.js | |
| parent | a8cfefc602a43753353940816633daae3e1692aa (diff) | |
better sorting / style
Diffstat (limited to 'scraper/client/paper/citationList.component.js')
| -rw-r--r-- | scraper/client/paper/citationList.component.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scraper/client/paper/citationList.component.js b/scraper/client/paper/citationList.component.js index 435dfde2..09060375 100644 --- a/scraper/client/paper/citationList.component.js +++ b/scraper/client/paper/citationList.component.js @@ -22,7 +22,7 @@ class CitationList extends Component { <h2>{title}</h2> <ul> {citations - .map(citation => [citation.title, verifiedLookup[citation.id] ? verifiedLookup[citation.id].uses_dataset : USES_DATASET.UNKNOWN, citation]) + .map(citation => [citation.title, verifiedLookup[citation.id] ? verifiedLookup[citation.id].uses_dataset : USES_DATASET.NO_DATA, citation]) .sort((a,b) => (b[1] - a[1] || (a[0].localeCompare(b[0])))) .map((pair, i) => { const [ title, uses_dataset, citation ] = pair |
