import { Component , OnInit } from '@angular/core' ; import { IRequestsData } from 'src/app/Models/DataModels/networkDebugger' ; import { ListColumnSetting , ListSettings } from 'src/app/Models/ListSettings' ; import { SettingsService } from 'src/app/services/settings.service' ; import { DetailBaseComponent } from 'src/app/ViewModels/detail-table-base.component' ; @ Component ( { selector : 'app-nested-table' , templateUrl : './nested-table.component.html' , styleUrls : [ './nested-table.component.scss' ] } ) export class NestedTableComponent implements DetailBaseComponent , OnInit { item : IRequestsData ; listSetting : ListColumnSetting ; listSettings : ListSettings ; constructor ( private settings ) { } ngOnInit ( ) { this . listSettings = this . settings . getNewOrExistingNetworkRequestListSettings ( ) ; } }