Skip to content
Snippets Groups Projects
Unverified Commit b0b6a165 authored by Dalton's avatar Dalton Committed by GitHub
Browse files

Fix render error when removing a dashboard parameter (#14999)

parent 1c6bf670
No related branches found
No related tags found
No related merge requests found
......@@ -400,7 +400,10 @@ function Sidebars(props) {
<ParameterSidebar
parameter={parameter}
otherParameters={otherParameters}
remove={() => removeParameter(editingParameterId)}
remove={() => {
setEditingParameter(null);
removeParameter(editingParameterId);
}}
done={() => setEditingParameter(null)}
showAddParameterPopover={showAddParameterPopover}
setParameter={setParameter}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment