Skip to content

Commit

Permalink
fix: withdrawal finalization ui
Browse files Browse the repository at this point in the history
  • Loading branch information
JackHamer09 committed May 9, 2024
1 parent 85b7b60 commit 66ddbb5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions views/transactions/WithdrawalSubmitted.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,10 @@
finalizeTransactionStatus === 'done' ||
transaction.info.toTransactionHash
"
class="flex items-center gap-2"
>
Claiming withdrawal...
<span>Claiming withdrawal...</span>
<CommonSpinner variant="text-color" class="h-5 w-5" aria-hidden="true" />
</span>
<span v-else>Claim withdrawal</span>
</transition>
Expand Down Expand Up @@ -173,7 +175,7 @@ const withdrawalManualFinalizationRequired = computed(() => {
);
});
const withdrawalFinalizationAvailable = computed(() => {
return props.transaction.info.withdrawalFinalizationAvailable;
return withdrawalManualFinalizationRequired.value && props.transaction.info.withdrawalFinalizationAvailable;
});
const {
Expand Down

0 comments on commit 66ddbb5

Please sign in to comment.