1
0
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:
Kyle Spearrin
2018-10-03 08:26:46 -04:00
parent adb3dc78ee
commit 815ef17d02
6 changed files with 27 additions and 14 deletions

View File

@@ -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);
}
}