1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

show popout conditionals

This commit is contained in:
Kyle Spearrin
2018-04-11 10:48:48 -04:00
parent 45033eb81e
commit 1e3a82586a
5 changed files with 16 additions and 8 deletions

View File

@@ -43,7 +43,6 @@ export class CurrentTabComponent implements OnInit, OnDestroy {
searchText: string;
canAutofill = false;
inSidebar = false;
showPopout = true;
disableSearch = false;
loaded = false;
loadedTimeout: number;
@@ -55,7 +54,6 @@ export class CurrentTabComponent implements OnInit, OnDestroy {
private ngZone: NgZone, private broadcasterService: BroadcasterService,
private changeDetectorRef: ChangeDetectorRef, private syncService: SyncService) {
this.inSidebar = popupUtilsService.inSidebar(window);
this.showPopout = !this.inSidebar && !platformUtilsService.isSafari();
this.disableSearch = platformUtilsService.isEdge();
}