Commit 9114b1db authored by Joseph Weston's avatar Joseph Weston
Browse files

make email sending error messages never timeout

This instance was previously overlooked
parent 48d902ea
......@@ -206,7 +206,9 @@ class EmailEveryoneControls extends React.Component {
}
} catch (error) {
// If we get here there is a bug in the backend
Notification.error('Failed to send emails')
Notification.error(
'Failed to send emails',
{ duration: 0 })
}
} finally {
this.setState({ sending: false })
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment