set backup done when view the plain text bakcup
This commit is contained in:
parent
e5f4844ca5
commit
fe0c061eaa
1 changed files with 1 additions and 1 deletions
|
|
@ -72,12 +72,12 @@ BackupService.prototype.walletDownload = function(wallet) {
|
||||||
};
|
};
|
||||||
|
|
||||||
BackupService.prototype.profileEncrypted = function(iden) {
|
BackupService.prototype.profileEncrypted = function(iden) {
|
||||||
|
iden.setBackupDone();
|
||||||
return iden.exportEncryptedWithWalletInfo(iden.password);
|
return iden.exportEncryptedWithWalletInfo(iden.password);
|
||||||
}
|
}
|
||||||
|
|
||||||
BackupService.prototype.profileDownload = function(iden) {
|
BackupService.prototype.profileDownload = function(iden) {
|
||||||
var ew = this.profileEncrypted(iden);
|
var ew = this.profileEncrypted(iden);
|
||||||
iden.setBackupDone();
|
|
||||||
var name = iden.fullName;
|
var name = iden.fullName;
|
||||||
var filename = name + '-profile.json';
|
var filename = name + '-profile.json';
|
||||||
this._download(ew, name, filename)
|
this._download(ew, name, filename)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue