mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 19:23:52 +00:00
optimizations
This commit is contained in:
@@ -38,6 +38,14 @@ export class ShareComponent extends BaseShareComponent {
|
||||
});
|
||||
}
|
||||
|
||||
async submit(): Promise<boolean> {
|
||||
const success = await super.submit();
|
||||
if (success) {
|
||||
this.location.back();
|
||||
}
|
||||
return success;
|
||||
}
|
||||
|
||||
cancel() {
|
||||
this.location.back();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user