Commit 4a83a900 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Replace uploader name of external databases in uploader/origin view.

parent b866ceca
Pipeline #75141 failed with stages
in 22 minutes and 44 seconds
......@@ -213,6 +213,13 @@ SearchEntry.propTypes = {
ownerTypes: PropTypes.arrayOf(PropTypes.string)
}
const originLabels = {
'Stefano Curtarolo': 'AFLOW',
'Chris Wolverton': 'OQMD',
'Patrick Huck': 'Materials Project',
'Markus Scheidgen': 'NOMAD Laboratory'
}
function UsersVisualization() {
const {setStatistics} = useContext(searchContext)
useEffect(() => {
......@@ -220,7 +227,7 @@ function UsersVisualization() {
}, [])
return <div>
<UploadsHistogram tooltips />
<QuantityHistogram quantity="uploader" title="Uploaders" />
<QuantityHistogram quantity="uploader" title="Uploader/origin" valueLabels={originLabels}/>
</div>
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment