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
beat
beat.editor
Commits
72608a5c
Commit
72608a5c
authored
Oct 01, 2018
by
Flavio TARSETTI
Browse files
[js][plotter] Fix do not show first option for dataformat when no selection was done. Closes
#154
parent
eae790f2
Pipeline
#24209
failed with stages
in 180 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
conda/js/src/components/plotter/PlotterEditor.jsx
View file @
72608a5c
...
...
@@ -257,6 +257,12 @@ const mapStateToProps = (state, ownProps) => {
plotDfNames
:
Selectors
.
dataformatGet
(
state
).
map
(
df
=>
df
.
name
).
filter
(
df
=>
df
.
startsWith
(
'
plot/
'
)),
data
:
plotters
[
ownProps
.
index
]
||
getValidObj
(),
};
if
(
obj
.
data
.
contents
.
dataformat
===
""
)
{
obj
.
plotDfNames
.
unshift
(
"
-- select an option --
"
)
};
return
obj
;
};
...
...
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