import { Component, Input } from '@angular/core';
import { ViewType } from '@app/shared/enumerators/flight-request-type.enum';
import { environment } from '@environment';

@Component({
    selector: 'flights-page-tabs',
    templateUrl: './page-tabs.component.html',
})
export class PageTabsComponent {
    @Input() viewType: ViewType;
    ViewType = ViewType;
    
    get flightsMapEnabled()
    {
        return environment.features?.flightsMap ?? false;
    }

}
