1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 07:13:32 +00:00

[SM-389] Event log for service account (#4679)

This commit is contained in:
Oscar Hinton
2023-02-24 16:44:24 +01:00
committed by GitHub
parent 76d6586ff8
commit a643074709
10 changed files with 65 additions and 9 deletions

View File

@@ -22,7 +22,8 @@ import { SecretService } from "./secret.service";
templateUrl: "./secrets.component.html",
})
export class SecretsComponent implements OnInit {
secrets$: Observable<SecretListView[]>;
protected secrets$: Observable<SecretListView[]>;
protected search: string;
private organizationId: string;
@@ -41,6 +42,10 @@ export class SecretsComponent implements OnInit {
return await this.getSecrets();
})
);
if (this.route.snapshot.queryParams.search) {
this.search = this.route.snapshot.queryParams.search;
}
}
private async getSecrets(): Promise<SecretListView[]> {