1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-23 03:33:54 +00:00

search input type variable

This commit is contained in:
Kyle Spearrin
2019-03-13 22:54:18 -04:00
parent 0df3208d45
commit 10bb317a67
7 changed files with 14 additions and 8 deletions

View File

@@ -49,6 +49,7 @@ export class CurrentTabComponent implements OnInit, OnDestroy {
searchText: string;
inSidebar = false;
showLeftHeader = false;
searchTypeSearch = false;
loaded = false;
private totpCode: string;
@@ -65,7 +66,7 @@ export class CurrentTabComponent implements OnInit, OnDestroy {
private searchService: SearchService, private storageService: StorageService) { }
async ngOnInit() {
this.showLeftHeader = !this.platformUtilsService.isSafari();
this.showLeftHeader = this.searchTypeSearch = !this.platformUtilsService.isSafari();
this.inSidebar = this.popupUtilsService.inSidebar(window);
this.broadcasterService.subscribe(BroadcasterSubscriptionId, (message: any) => {