Commit 4c5de7a1 authored by Matija Obreza's avatar Matija Obreza
Browse files

Fixed render error in Dataset files upload-section

parent 978aa754
Pipeline #4107 passed with stages
in 3 minutes and 1 second
......@@ -152,10 +152,10 @@ class UploadSection extends React.Component<IUploadSectionProps, any> {
<div>
{ index + 1 }
</div>
<div>{ (dataset.repositoryFiles[index] as RepositoryFile).originalFilename }</div>
<div>{ (fields.get(index) as RepositoryFile).originalFilename }</div>
<ListItemSecondaryAction>
<IconButton aria-label="Delete">
<DeleteIcon onClick={ this.deleteFile.bind(this, dataset.repositoryFiles[index].uuid) }/>
<DeleteIcon onClick={ this.deleteFile.bind(this, fields.get(index).uuid) }/>
</IconButton>
</ListItemSecondaryAction>
</ListItem>
......
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