Fix user pill click (#10359)
This commit is contained in:
parent
1e46efe89c
commit
41d88ad6ae
3 changed files with 210 additions and 177 deletions
|
@ -167,6 +167,7 @@ export const usePermalink: (args: Args) => HookResult = ({ room, type: argType,
|
|||
text = member.name || resourceId;
|
||||
onClick = (e: ButtonEvent): void => {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
dis.dispatch({
|
||||
action: Action.ViewUser,
|
||||
member: member,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue