From 3b06ae589370bb3155276730c1115c0787832903 Mon Sep 17 00:00:00 2001 From: Noelia Date: Mon, 13 Nov 2023 14:06:34 +0100 Subject: [PATCH] fix(FinaliseOwnership): Fixed ownership decline flow Fixes ownership decline flow where finalise popup was not correctly closed. --- ui/app/mainui/Popups.qml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ui/app/mainui/Popups.qml b/ui/app/mainui/Popups.qml index edfcb0fd2f..e7342905f2 100644 --- a/ui/app/mainui/Popups.qml +++ b/ui/app/mainui/Popups.qml @@ -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.