1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 09:43:23 +00:00

[Send] Enterprise policy enforcement (#1637)

This commit is contained in:
Vincent Salucci
2021-02-24 16:03:44 -06:00
committed by GitHub
parent 4853fb3e29
commit e17649d869
9 changed files with 87 additions and 34 deletions

View File

@@ -125,9 +125,19 @@ export class SendGroupingsComponent extends BaseSendComponent {
}
async addSend() {
if (this.disableSend) {
return;
}
this.router.navigate(['/add-send']);
}
async removePassword(s: SendView): Promise<boolean> {
if (this.disableSend) {
return;
}
super.removePassword(s);
}
showSearching() {
return this.hasSearched || (!this.searchPending && this.searchService.isSearchable(this.searchText));
}