1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-23 11:43:46 +00:00
Files
browser/src/popup/tabs.component.ts
2021-12-21 15:43:35 +01:00

18 lines
434 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);
}
}