1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 14:23:32 +00:00

fixed bugs found creating demo video

This commit is contained in:
addison
2021-02-16 13:11:14 -05:00
parent 1290ff2c40
commit 73bc46ae4a
5 changed files with 22 additions and 11 deletions

View File

@@ -26,11 +26,10 @@ export class AddEditComponent extends BaseAddEditComponent {
}
async refresh() {
this.password = null;
const send = await this.loadSend();
this.send = await send.decrypt();
this.hasPassword = this.send.password != null && this.send.password.trim() !== '';
this.deletionDate = this.dateToString(this.send.deletionDate);
this.expirationDate = this.dateToString(this.send.expirationDate);
}