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