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
8e6d9947
Commit
8e6d9947
authored
Oct 18, 2018
by
Flavio TARSETTI
Browse files
[plotterparameter] do not show first option for plotter when no selection was done
parent
14834d18
Changes
1
Hide whitespace changes
Inline
Side-by-side
conda/js/src/components/plotterparameter/PlotterParameterEditor.jsx
View file @
8e6d9947
...
...
@@ -172,6 +172,13 @@ const mapStateToProps = (state, ownProps) => {
plotters
:
Selectors
.
plotterGet
(
state
),
data
:
params
[
ownProps
.
index
]
||
getValidObj
(),
};
if
(
!
obj
.
data
.
contents
.
hasOwnProperty
(
'
plotter
'
)
||
obj
.
data
.
contents
.
plotters
===
""
)
{
obj
.
plotters
.
unshift
({
name
:
"
-- 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