1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-12 14:56:58 +01:00
bitwarden-browser/apps/browser/src/popup/tabs.component.ts
2022-05-03 19:38:55 +02:00

18 lines
425 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 = true;
constructor(private popupUtilsService: PopupUtilsService) {}
ngOnInit() {
this.showCurrentTab = !this.popupUtilsService.inPopout(window);
}
}