mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
adjustments for edge 18 workarounds
This commit is contained in:
@@ -1,7 +1,20 @@
|
||||
import { Component } from '@angular/core';
|
||||
import {
|
||||
Component,
|
||||
OnInit,
|
||||
} from '@angular/core';
|
||||
|
||||
import { PopupUtilsService } from './services/popup-utils.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-tabs',
|
||||
templateUrl: 'tabs.component.html',
|
||||
})
|
||||
export class TabsComponent { }
|
||||
export class TabsComponent implements OnInit {
|
||||
showCurrentTab: boolean = true;
|
||||
|
||||
constructor(private popupUtilsService: PopupUtilsService) { }
|
||||
|
||||
ngOnInit() {
|
||||
this.showCurrentTab = !this.popupUtilsService.inPopout(window);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user