fix(@desktop/chat): Hide create chat panel when some other menu items are selected
Fix #7675
This commit is contained in:
parent
d8bda2490a
commit
a46206e4fd
|
@ -22,6 +22,10 @@ StackLayout {
|
|||
|
||||
clip: true
|
||||
|
||||
onCurrentIndexChanged: {
|
||||
Global.closeCreateChatView()
|
||||
}
|
||||
|
||||
Component {
|
||||
id: membershipRequestPopupComponent
|
||||
MembershipRequestsPopup {
|
||||
|
|
|
@ -776,6 +776,8 @@ Item {
|
|||
if (!obj)
|
||||
return
|
||||
|
||||
createChatView.opened = false
|
||||
|
||||
if (obj === browserLayoutContainer && browserLayoutContainer.active == false) {
|
||||
browserLayoutContainer.active = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue