Add useful functions to GroupView to inspect user flags

This commit is contained in:
Luke Barnard 2017-10-17 16:08:19 +01:00
parent 626f007f4e
commit 0415869b8c
2 changed files with 10 additions and 0 deletions

View file

@ -450,6 +450,8 @@ export default React.createClass({
this._groupStore.on('update', () => {
this.setState({
summary: this._groupStore.getSummary(),
isGroupPublicised: this._groupStore.getGroupPublicity(),
isUserPrivileged: this._groupStore.isUserPrivileged(),
error: null,
});
});