mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-30 13:03:53 +01:00
null check
This commit is contained in:
parent
d1847690f2
commit
fc1bcb34a0
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user