Make the communities button behave more like a toggle
Fixes https://github.com/vector-im/riot-web/issues/10771 Clicking the button should toggle between your last page (room in our case) and the communities stuff.
This commit is contained in:
parent
21a15fdcb4
commit
1ff39f2524
2 changed files with 17 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue