1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 01:33:33 +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

@@ -91,8 +91,20 @@ export class SendComponent extends BaseSendComponent implements OnInit, OnDestro
this.sendId = null;
}
async deletedSend(s: SendView) {
await this.refresh();
this.action = Action.None;
this.sendId = null;
}
async savedSend(s: SendView) {
console.log(s);
await this.refresh();
this.selectSend(s.id);
}
async selectSend(sendId: string) {
if (sendId === this.sendId) {
if (sendId === this.sendId && this.action === Action.Edit) {
return;
}
this.action = Action.Edit;