fix(@desktop/chat): Hide create chat panel when some other menu items are selected

Fix #7675
This commit is contained in:
Michal Iskierko 2022-11-21 16:46:41 +01:00 committed by Michał Iskierko
parent d8bda2490a
commit a46206e4fd
2 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,10 @@ StackLayout {
clip: true
onCurrentIndexChanged: {
Global.closeCreateChatView()
}
Component {
id: membershipRequestPopupComponent
MembershipRequestsPopup {

View File

@ -776,6 +776,8 @@ Item {
if (!obj)
return
createChatView.opened = false
if (obj === browserLayoutContainer && browserLayoutContainer.active == false) {
browserLayoutContainer.active = true;
}