mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
on route if confirmed
This commit is contained in:
@@ -102,7 +102,8 @@ export class AddEditComponent extends BaseAddEditComponent implements OnInit {
|
||||
}
|
||||
|
||||
async delete() {
|
||||
await super.delete();
|
||||
this.router.navigate(['/tabs/vault']);
|
||||
if (await super.delete()) {
|
||||
this.router.navigate(['/tabs/vault']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user