fix(@desktop/wallet): add account button is enabled in ambiguous state
Fixes: #10078
This commit is contained in:
parent
490e8ff258
commit
cab6af212f
|
@ -214,6 +214,10 @@ QtObject {
|
|||
if (root.selectedOrigin.pairType === Constants.addAccountPopup.keyPairType.profile ||
|
||||
root.selectedOrigin.pairType === Constants.addAccountPopup.keyPairType.seedImport) {
|
||||
return valid &&
|
||||
!!root.selectedDerivedAddress &&
|
||||
root.selectedDerivedAddress.loaded &&
|
||||
!root.selectedDerivedAddress.alreadyCreated &&
|
||||
root.selectedDerivedAddress.address !== "" &&
|
||||
root.derivationPathRegEx.test(root.addAccountModule.derivationPath) &&
|
||||
(!root.derivationPathOutOfTheDefaultStatusDerivationTree ||
|
||||
root.derivationPathOutOfTheDefaultStatusDerivationTreeConfirmed)
|
||||
|
|
Loading…
Reference in New Issue