Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ACS
P
Public
VILLASframework
VILLASweb
Commits
6fe522fe
Commit
6fe522fe
authored
Feb 18, 2020
by
Sonja Happ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make the CI happy
parent
5409e485
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
src/file/select-file.js
src/file/select-file.js
+11
-11
No files found.
src/file/select-file.js
View file @
6fe522fe
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
import
React
from
'
react
'
;
import
React
from
'
react
'
;
import
{
Container
}
from
'
flux/utils
'
;
import
{
Container
}
from
'
flux/utils
'
;
import
{
FormGroup
,
FormControl
,
FormLabel
,
Button
,
ProgressBar
,
Col
}
from
'
react-bootstrap
'
;
import
{
FormGroup
,
FormControl
,
FormLabel
,
Button
,
Col
}
from
'
react-bootstrap
'
;
import
FileStore
from
'
./file-store
'
;
import
FileStore
from
'
./file-store
'
;
import
LoginStore
from
'
../user/login-store
'
;
import
LoginStore
from
'
../user/login-store
'
;
...
@@ -105,19 +105,19 @@ class SelectFile extends React.Component {
...
@@ -105,19 +105,19 @@ class SelectFile extends React.Component {
render
()
{
render
()
{
let
fileOptions
;
let
fileOptions
;
if
(
this
.
state
.
files
.
length
>
0
){
if
(
this
.
state
.
files
.
length
>
0
){
fileOptions
=
this
.
state
.
files
.
map
(
f
=>
fileOptions
=
this
.
state
.
files
.
map
(
f
=>
<
option
key
=
{
f
.
id
}
value
=
{
f
.
id
}
>
{
f
.
name
}
<
/option
>
<
option
key
=
{
f
.
id
}
value
=
{
f
.
id
}
>
{
f
.
name
}
<
/option
>
);
);
}
else
{
}
else
{
fileOptions
=
<
option
>
No
files
for
this
simulation
model
<
/option
>
fileOptions
=
<
option
>
No
files
for
this
simulation
model
<
/option
>
}
}
const
progressBarStyle
=
{
/*
const progressBarStyle = {
marginLeft: '100px',
marginLeft: '100px',
marginTop: '-25px'
marginTop: '-25px'
};
};
*/
return
<
div
>
return
<
div
>
<
FormGroup
>
<
FormGroup
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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