Ensure deleting is set to false.

This commit is contained in:
Richard Lewis 2018-03-29 16:56:25 +01:00
parent 35fcb2c9ab
commit aefccb134c

View file

@ -330,6 +330,7 @@ export default class AppTile extends React.Component {
this.props.id, this.props.id,
).catch((e) => { ).catch((e) => {
console.error('Failed to delete widget', e); console.error('Failed to delete widget', e);
}).finally(() => {
this.setState({deleting: false}); this.setState({deleting: false});
}); });
}, },