mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 03:03:43 +00:00
show popout conditionals
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<header>
|
||||
<div class="left">
|
||||
<app-pop-out *ngIf="showPopout"></app-pop-out>
|
||||
<app-pop-out [show]="!inSidebar"></app-pop-out>
|
||||
<button type="button" appBlurClick (click)="refresh()" title="{{'refresh' | i18n}}" *ngIf="inSidebar">
|
||||
<i class="fa fa-refresh fa-lg fa-fw"></i>
|
||||
</button>
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user