1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-02-16 01:21:48 +01:00
bitwarden-browser/src/popup/tabs.component.ts
2018-10-03 08:26:46 -04:00

21 lines
460 B
TypeScript

import {
Component,
OnInit,
} from '@angular/core';
import { PopupUtilsService } from './services/popup-utils.service';
@Component({
selector: 'app-tabs',
templateUrl: 'tabs.component.html',
})
export class TabsComponent implements OnInit {
showCurrentTab: boolean = true;
constructor(private popupUtilsService: PopupUtilsService) { }
ngOnInit() {
this.showCurrentTab = !this.popupUtilsService.inPopout(window);
}
}