mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
null check
This commit is contained in:
@@ -17,7 +17,8 @@ export class SearchService implements SearchServiceAbstraction {
|
||||
private onlySearchName = false;
|
||||
|
||||
constructor(private cipherService: CipherService, platformUtilsService: PlatformUtilsService) {
|
||||
this.onlySearchName = platformUtilsService.getDevice() === DeviceType.EdgeExtension;
|
||||
this.onlySearchName = platformUtilsService == null ||
|
||||
platformUtilsService.getDevice() === DeviceType.EdgeExtension;
|
||||
}
|
||||
|
||||
clearIndex(): void {
|
||||
|
||||
Reference in New Issue
Block a user