bitwarden-estensione-browser/src/popup/tabs.component.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
425 B
TypeScript
Raw Normal View History

2018-10-03 14:26:46 +02:00
import { Component, OnInit } from "@angular/core";
import { PopupUtilsService } from "./services/popup-utils.service";
2018-04-05 04:59:42 +02:00
@Component({
selector: "app-tabs",
2018-04-06 17:48:45 +02:00
templateUrl: "tabs.component.html",
2018-04-05 04:59:42 +02:00
})
2018-10-03 14:26:46 +02:00
export class TabsComponent implements OnInit {
2022-02-24 18:14:04 +01:00
showCurrentTab = true;
2018-10-03 14:26:46 +02:00
constructor(private popupUtilsService: PopupUtilsService) {}
ngOnInit() {
this.showCurrentTab = !this.popupUtilsService.inPopout(window);
}
}