mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-19 18:13:41 -05:00
web/rightpanel: don't show ignore button for self
This commit is contained in:
parent
fabf3404af
commit
865b2e4fdf
1 changed files with 4 additions and 4 deletions
|
@ -72,14 +72,14 @@ const UserInfo = ({ userID }: UserInfoProps) => {
|
|||
profile={globalProfile} refreshProfile={refreshProfile} client={client} userID={userID}
|
||||
/>}
|
||||
<hr/>
|
||||
<DeviceList client={client} room={roomCtx?.store} userID={userID}/>
|
||||
<hr/>
|
||||
{userID !== client.userID && <>
|
||||
<MutualRooms client={client} userID={userID}/>
|
||||
<hr/>
|
||||
<UserModeration client={client} room={roomCtx?.store} member={memberEvt} userID={userID}/>
|
||||
<hr/>
|
||||
</>}
|
||||
<DeviceList client={client} room={roomCtx?.store} userID={userID}/>
|
||||
<hr/>
|
||||
<UserModeration client={client} room={roomCtx?.store} member={memberEvt} userID={userID}/>
|
||||
<hr/>
|
||||
{errors?.length ? <>
|
||||
<UserInfoError errors={errors}/>
|
||||
<hr/>
|
||||
|
|
Loading…
Add table
Reference in a new issue