1
0
mirror of https://github.com/element-hq/element-web.git synced 2025-12-01 09:58:03 +03:00

Set isPeeking to false if peeking failed

Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
Travis Ralston
2017-10-12 07:05:09 -06:00
parent 6ce7eb952a
commit f1032bb115

View File

@@ -283,6 +283,7 @@ module.exports = React.createClass({
// This is fine: the room just isn't peekable (we assume). // This is fine: the room just isn't peekable (we assume).
this.setState({ this.setState({
peekLoading: false, peekLoading: false,
isPeeking: false,
}); });
} else { } else {
throw err; throw err;