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