Don't update presence status if the user is clicks twice

Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
Travis Ralston 2017-10-15 20:20:43 -06:00
parent deb50b2d43
commit ef5fc7347a

View File

@ -34,6 +34,7 @@ const PresenceContextMenuOption = React.createClass({
}, },
onClick: function() { onClick: function() {
if (this.isCurrent) return;
this.props.onChange(this.props.forStatus); this.props.onChange(this.props.forStatus);
}, },