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

Fixed render error in Dataset files upload-section

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