Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Catalog
catalog.genesys-pgr.org
Commits
4c5de7a1
Commit
4c5de7a1
authored
Jan 18, 2018
by
Matija Obreza
Browse files
Fixed render error in Dataset files upload-section
parent
978aa754
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/pages/dataset/dataset-stepper/steps/basic-info/upload-section/index.tsx
View file @
4c5de7a1
...
...
@@ -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
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment