Skip to content
Snippets Groups Projects
Unverified Commit 27f0891b authored by Tim Macdonald's avatar Tim Macdonald Committed by GitHub
Browse files

Disable the Sidebar component's Done button after click (#14422)

[Fixes #14397]
parent 31d245d8
No related branches found
No related tags found
No related merge requests found
......@@ -260,9 +260,9 @@ class SharingSidebar extends React.Component {
cleanedPulse.name = dashboard.name;
await this.props.updateEditingPulse(cleanedPulse);
await this.props.saveEditingPulse();
// The order below matters; it hides the "Done" button faster and prevents two pulses from being made if it's double-clicked
this.setState({ editingMode: "list-pulses" });
await this.props.saveEditingPulse();
};
createSubscription = () => {
......
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