fix(FinaliseOwnership): Fixed ownership decline flow

Fixes ownership decline flow where finalise popup was not correctly closed.
This commit is contained in:
Noelia 2023-11-13 14:06:34 +01:00 committed by Noelia
parent de68d250a6
commit 3b06ae5893
1 changed files with 2 additions and 5 deletions

View File

@ -893,7 +893,7 @@ QtObject {
target: root
onOwnershipDeclined: {
finalisePopup.close()
root.communityTokensStore.ownershipDeclined(communityId)
root.rootStore.communityTokensStore.ownershipDeclined(communityId, communityName)
}
}
}
@ -904,10 +904,7 @@ QtObject {
FinaliseOwnershipDeclinePopup {
destroyOnClose: true
onDeclineClicked: {
close()
root.rootStore.communityTokensStore.ownershipDeclined(communityId, communityName)
}
onDeclineClicked: root.ownershipDeclined()
}
}
// End of components related to transfer community ownership flow.