1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Merge pull request #3670 from matrix-org/travis/toggle-communities

Make the communities button behave more like a toggle
This commit is contained in:
Travis Ralston
2019-11-27 07:52:05 -07:00
committed by GitHub
2 changed files with 17 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ import { _t } from '../../../languageHandler';
const GroupsButton = function(props) {
const ActionButton = sdk.getComponent('elements.ActionButton');
return (
<ActionButton className="mx_GroupsButton" action="view_my_groups"
<ActionButton className="mx_GroupsButton" action="toggle_my_groups"
label={_t("Communities")}
size={props.size}
tooltip={true}