Skip to content

Commit

Permalink
storaged: Fix unhandled promise rejection when cancelling NFS install…
Browse files Browse the repository at this point in the history
… dialog

Cherry-picked from master commit 85183f9.
  • Loading branch information
martinpitt committed Jul 29, 2018
1 parent d416a72 commit 4cc4e91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/storaged/optional-panel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ export class OptionalPanel extends React.Component {
self.setState({ just_installed: "just-installed" });
window.setTimeout(() => { self.setState({ just_installed: "just-installed faded" }); },
4000);
});
},
() => null /* ignore cancel */);
}

var heading_right = null;
Expand Down

0 comments on commit 4cc4e91

Please sign in to comment.