Un-break member hovering

This commit is contained in:
David Baker 2015-10-13 15:17:20 +01:00
parent 7598be684c
commit 47c1bb35db

View file

@ -32,6 +32,7 @@ module.exports = React.createClass({
mixins: [MemberTileController],
shouldComponentUpdate: function(nextProps, nextState) {
if (this.state.hover !== nextState.hover) return true;
if (
this.member_last_modified_time === undefined ||
this.member_last_modified_time < nextProps.member.getLastModifiedTime()