mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-30 00:00:13 +01:00
Edit image widget: show 'No files found' if no image files are available #267
This commit is contained in:
parent
c7281835d3
commit
162ea6a8f6
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class EditFileWidgetControl extends React.Component {
|
|||
<option key={index+1} value={file.id}>{file.name}</option>
|
||||
)))
|
||||
} else {
|
||||
fileOptions = <option disabled value style={{ display: 'none' }}>No files found, please upload one first.</option>
|
||||
fileOptions = <option style={{ display: 'none' }}>No files found</option>
|
||||
}
|
||||
|
||||
return <div>
|
||||
|
|
Loading…
Add table
Reference in a new issue