Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Fix JS error on sys console groups page (#6354)
Browse files Browse the repository at this point in the history
Co-authored-by: Mattermod <[email protected]>
  • Loading branch information
2 people authored and jfrerich committed Oct 23, 2020
1 parent 9658648 commit 782f030
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion components/admin_console/group_settings/group_settings.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ import {getSiteURL} from 'utils/url';

export default class GroupSettings extends React.PureComponent {
static propTypes = {
isDisabled: PropTypes.func,
isDisabled: PropTypes.oneOfType([
PropTypes.func,
PropTypes.bool,
]),
}

render = () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default class GroupsList extends React.PureComponent<Props, State> {
};
}

public closeFilters() {
public closeFilters = () => {
this.setState({showFilters: false});
}

Expand Down

0 comments on commit 782f030

Please sign in to comment.