fix(@desktop/communities): close community modal when leaving the community
This commit is contained in:
parent
46e3779020
commit
7c735aa7a8
|
@ -65,7 +65,10 @@ StatusModal {
|
|||
community: popup.community
|
||||
})
|
||||
onTransferOwnershipButtonClicked: openPopup(transferOwnershipPopup, {privateKey: chatsModel.communities.exportCommunity()})
|
||||
onLeaveButtonClicked: chatsModel.communities.leaveCommunity(popup.community.id)
|
||||
onLeaveButtonClicked: {
|
||||
chatsModel.communities.leaveCommunity(popup.community.id)
|
||||
popup.close()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue