diff --git a/conda/js/src/components/plotterparameter/PlotterParameterEditor.jsx b/conda/js/src/components/plotterparameter/PlotterParameterEditor.jsx index e93500cd3599cff42f855de33db3d0616f675875..9c90b2ffa4a41704514325ccd068cd3273362101 100644 --- a/conda/js/src/components/plotterparameter/PlotterParameterEditor.jsx +++ b/conda/js/src/components/plotterparameter/PlotterParameterEditor.jsx @@ -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; };