mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-01 18:08:19 +01:00
set search text before load
This commit is contained in:
parent
39c32b0e62
commit
ea49d17c47
@ -62,6 +62,7 @@ export class VaultComponent implements OnInit {
|
||||
this.ciphersComponent.organization = this.organization;
|
||||
|
||||
this.route.queryParams.subscribe(async (qParams) => {
|
||||
this.ciphersComponent.searchText = this.groupingsComponent.searchText = qParams.search;
|
||||
if (!this.organization.isAdmin) {
|
||||
await this.syncService.fullSync(false);
|
||||
}
|
||||
@ -84,7 +85,6 @@ export class VaultComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
this.ciphersComponent.searchText = this.groupingsComponent.searchText = qParams.search;
|
||||
if (qParams.viewEvents != null) {
|
||||
const cipher = this.ciphersComponent.ciphers.filter((c) => c.id === qParams.viewEvents);
|
||||
if (cipher.length > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user