fix: quit from community settings in UI if member privileged role changed (#12846)

This commit is contained in:
Mykhailo Prakhov 2023-11-24 16:39:09 +01:00 committed by GitHub
parent d66540d74f
commit fae038df3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,8 @@ StackLayout {
// Community transfer ownership related props/signals:
property bool isPendingOwnershipRequest: sectionItemModel.isPendingOwnershipRequest
onIsPrivilegedUserChanged: if (root.currentIndex === 1) root.currentIndex = 0
onCurrentIndexChanged: {
Global.closeCreateChatView()
}