Skip to content

Commit

Permalink
fix: private key validation when adding new account into profile #1614
Browse files Browse the repository at this point in the history
…- lint
  • Loading branch information
cryptoBeliever committed Aug 5, 2021
1 parent 5def002 commit bb0889f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,12 @@
<ModalBackupReminder :visible="isModalBackupReminderShown" @close="closeBackupReminderModal" />

<div slot="footer" class="modal-footer">
<FormProfileUnlock :focus="false" :is-loading="isCreatingAccount" :disabled="!isValidName || !isValidPrivateKey" @success="onAccountUnlocked" />
<FormProfileUnlock
:focus="false"
:is-loading="isCreatingAccount"
:disabled="!isValidName || !isValidPrivateKey"
@success="onAccountUnlocked"
/>
</div>
</Modal>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import { LedgerService } from '@/services/LedgerService';
import { MnemonicPassPhrase } from 'symbol-hd-wallets';
import { ValidationObserver, ValidationProvider } from 'vee-validate';
import { AccountService } from '@/services/AccountService';
import { PrivateKeyValidator } from "@/core/validation/validators";
import { PrivateKeyValidator } from '@/core/validation/validators';

@Component({
components: {
Expand Down

0 comments on commit bb0889f

Please sign in to comment.