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

Resolved Safari Date/Time Issues In Send (#992)

* cleaned up date and time logic for Send

* updated jslib

* set up change detection for initial form values on data swap
This commit is contained in:
Addison Beck
2021-07-19 09:56:31 -04:00
committed by GitHub
parent 9201730fe1
commit 0682269e34
6 changed files with 86 additions and 41 deletions

View File

@@ -30,8 +30,6 @@ export class AddEditComponent extends BaseAddEditComponent {
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);
}
cancel() {