mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 10:15:43 +03:00
Merge pull request #4558 from matrix-org/dbkr/fix_member_panel_hide
Fix right panel hiding when viewing room member
This commit is contained in:
commit
0fd06300be
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ export default class RightPanelStore extends Store {
|
||||||
let targetPhase = payload.phase;
|
let targetPhase = payload.phase;
|
||||||
let refireParams = payload.refireParams;
|
let refireParams = payload.refireParams;
|
||||||
// redirect to EncryptionPanel if there is an ongoing verification request
|
// redirect to EncryptionPanel if there is an ongoing verification request
|
||||||
if (targetPhase === RIGHT_PANEL_PHASES.RoomMemberInfo) {
|
if (targetPhase === RIGHT_PANEL_PHASES.RoomMemberInfo && payload.refireParams) {
|
||||||
const {member} = payload.refireParams;
|
const {member} = payload.refireParams;
|
||||||
const pendingRequest = pendingVerificationRequestForUser(member);
|
const pendingRequest = pendingVerificationRequestForUser(member);
|
||||||
if (pendingRequest) {
|
if (pendingRequest) {
|
||||||
|
|
Loading…
Reference in a new issue