Commit 490f1a09 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Added clipboard icon to DOI.

parent 475d2841
Pipeline #121664 passed with stages
in 36 minutes and 5 seconds
......@@ -43,7 +43,19 @@ very similar to labels, albums, or tags on other platforms.
const columns = [
{key: 'dataset_name'},
{key: 'doi', label: 'Digital object identifier (DOI)'},
{
key: 'doi',
label: 'Digital object identifier (DOI)',
render: dataset => {
if (dataset.doi) {
return <Quantity
quantity={'datasets.doi'} noLabel noWrap withClipboard
data={{datasets: dataset}}
/>
}
return ''
}
},
{
key: 'dataset_id',
render: dataset => <Quantity quantity={'datasets.dataset_id'} noLabel noWrap withClipboard data={{datasets: dataset}}/>
......
Supports Markdown
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