Commit 92696cd7 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed uneditable ems data. #414

parent 026ded10
Pipeline #81808 passed with stages
in 18 minutes and 13 seconds
......@@ -128,7 +128,7 @@ class DatasetActionsUnstyled extends React.Component {
const {dataset, search, user, classes} = this.props
const {doi} = dataset
const editable = user && dataset.example &&
dataset.example.authors.find(author => author.user_id === user.sub)
dataset.example.owners.find(author => author.user_id === user.sub)
const canAssignDOI = !doi
const canDelete = !doi
......
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