mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-09 08:40:29 +03:00
open profile view on left side in member drawer
This commit is contained in:
parent
2f77b3fd85
commit
a44cefedcf
4 changed files with 10 additions and 8 deletions
|
|
@ -147,7 +147,7 @@ export function MembersDrawer({ room, members }: MembersDrawerProps) {
|
|||
const btn = evt.currentTarget as HTMLButtonElement;
|
||||
const userId = btn.getAttribute('data-user-id');
|
||||
if (!userId) return;
|
||||
openUserRoomProfile(room.roomId, space?.roomId, userId, btn.getBoundingClientRect());
|
||||
openUserRoomProfile(room.roomId, space?.roomId, userId, btn.getBoundingClientRect(), 'Left');
|
||||
};
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue