Fix walletHome if no-wallets

This commit is contained in:
Gustavo Maximiliano Cortez 2015-09-14 14:55:46 -03:00
commit 2b49ebd33d
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF

View file

@ -681,6 +681,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
});
var fc = profileService.focusedClient;
if (!fc) return;
// ToDo: use a credential's (or fc's) function for this
this.hideNote = !fc.credentials.sharedEncryptingKey;
};