fix flag wallet seed not available

This commit is contained in:
Javier 2015-11-19 11:36:57 -03:00
commit 945233363a

View file

@ -5,6 +5,10 @@ angular.module('copayApp.controllers').controller('backupController',
var self = this;
var fc = profileService.focusedClient;
self.deleted = false;
if (fc.credentials && !fc.credentials.mnemonicEncrypted && !fc.credentials.mnemonic)
self.deleted = true;
if (fc.isPrivKeyEncrypted()) {
self.credentialsEncrypted = true;