File tree Expand file tree Collapse file tree 2 files changed +21
-25
lines changed
components/account-recovery/passkey-generation-flow
pages/recovery/guardian/(actions) Expand file tree Collapse file tree 2 files changed +21
-25
lines changed Original file line number Diff line number Diff line change 2525 :new-passkey =" newPasskey!"
2626 @back =" currentStep--"
2727 />
28- <Step4
29- v-if =" relativeStep === 4"
30- @back =" currentStep--"
31- />
28+ <Step4 v-if =" relativeStep === 4" />
3229 </div >
3330</template >
3431
@@ -64,13 +61,10 @@ watchEffect(() => {
6461 stepTitle .value = " Recovery Started" ;
6562 break ;
6663 case 3 :
67- stepTitle .value = " Confirm Recovery" ;
64+ stepTitle .value = isConfirmLater . value ? " Save Recovery URL " : " Confirm Recovery" ;
6865 break ;
6966 case 4 :
70- stepTitle .value = isConfirmLater .value ? " Save Recovery URL" : " Connect Guardian Account" ;
71- break ;
72- case 5 :
73- stepTitle .value = " Guardian Confirmed" ;
67+ stepTitle .value = " Recovery Completed" ;
7468 break ;
7569 }
7670});
Original file line number Diff line number Diff line change 6565 </account-recovery-confirm-action-card >
6666
6767 <template v-if =" selectedGuardian && ! recoveryCompleted " >
68+ <div class =" flex gap-4 mt-3" >
69+ <ZkButton
70+ v-if =" selectedGuardianInfo?.isSsoAccount || isConnectedWalletGuardian"
71+ type =" primary"
72+ class =" w-full max-w-56"
73+ :loading =" initRecoveryInProgress || getConfigurableAccountInProgress"
74+ @click =" handleConfirmRecovery"
75+ >
76+ Confirm Recovery
77+ </ZkButton >
78+ <CommonConnectButton
79+ v-if =" !selectedGuardianInfo?.isSsoAccount"
80+ type =" primary"
81+ class =" w-full max-w-56"
82+ :disabled =" initRecoveryInProgress || getConfigurableAccountInProgress"
83+ />
84+ </div >
6885 <p
6986 v-if =" !selectedGuardianInfo?.isSsoAccount && accountData.isConnected && !isConnectedWalletGuardian"
70- class =" text-center text- error-500 dark:text-error-400 mt-4 "
87+ class =" text-error-500 dark:text-error-400"
7188 >
7289 Please connect with the guardian wallet address ({{ shortenAddress(selectedGuardian) }})
7390 </p >
74- <ZkButton
75- v-if =" selectedGuardianInfo?.isSsoAccount || isConnectedWalletGuardian"
76- type =" primary"
77- class =" w-full max-w-56"
78- :loading =" initRecoveryInProgress || getConfigurableAccountInProgress"
79- @click =" handleConfirmRecovery"
80- >
81- Confirm Recovery
82- </ZkButton >
83- <CommonConnectButton
84- v-if =" !selectedGuardianInfo?.isSsoAccount"
85- type =" primary"
86- class =" w-full max-w-56"
87- :disabled =" initRecoveryInProgress || getConfigurableAccountInProgress"
88- />
8991 </template >
9092
9193 <account-recovery-confirm-action-card
You can’t perform that action at this time.
0 commit comments