mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-02 09:46:38 +00:00
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…
x
Reference in New Issue
Block a user