forked from Mirrors/gomuks
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}
|
profile={globalProfile} refreshProfile={refreshProfile} client={client} userID={userID}
|
||||||
/>}
|
/>}
|
||||||
<hr/>
|
<hr/>
|
||||||
|
<DeviceList client={client} room={roomCtx?.store} userID={userID}/>
|
||||||
|
<hr/>
|
||||||
{userID !== client.userID && <>
|
{userID !== client.userID && <>
|
||||||
<MutualRooms client={client} userID={userID}/>
|
<MutualRooms client={client} userID={userID}/>
|
||||||
<hr/>
|
<hr/>
|
||||||
</>}
|
|
||||||
<DeviceList client={client} room={roomCtx?.store} userID={userID}/>
|
|
||||||
<hr/>
|
|
||||||
<UserModeration client={client} room={roomCtx?.store} member={memberEvt} userID={userID}/>
|
<UserModeration client={client} room={roomCtx?.store} member={memberEvt} userID={userID}/>
|
||||||
<hr/>
|
<hr/>
|
||||||
|
</>}
|
||||||
{errors?.length ? <>
|
{errors?.length ? <>
|
||||||
<UserInfoError errors={errors}/>
|
<UserInfoError errors={errors}/>
|
||||||
<hr/>
|
<hr/>
|
||||||
|
|
Loading…
Add table
Reference in a new issue