diff options
Diffstat (limited to 'ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/header-tabs-component/header-tabs.component.ts')
-rw-r--r-- | ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/header-tabs-component/header-tabs.component.ts | 45 |
1 files changed, 5 insertions, 40 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/header-tabs-component/header-tabs.component.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/header-tabs-component/header-tabs.component.ts index e95481b7..af1f33f5 100644 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/header-tabs-component/header-tabs.component.ts +++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/header-tabs-component/header-tabs.component.ts @@ -97,6 +97,7 @@ export class HeaderTabsComponent implements OnInit { console.log(this.finalReportId, this.repMode); } } + } ngAfterViewInit() @@ -139,46 +140,10 @@ export class HeaderTabsComponent implements OnInit { ngOnChanges(changes: SimpleChanges) { this.tabChanged = (tabChangeEvent: MatTabChangeEvent): void => { - console.log('tabChangeEvent => ', tabChangeEvent); - console.log('index => ', tabChangeEvent.index); }; - - // this.navLinks = [{ - // path : "definition/" + changes["reportId"]["currentValue"], - // label : "Definition" - // }, - // { - // path : "sql", - // label : "SQL" - // }, - // { - // path : "columns", - // label : "Columns" - // }, - // { - // path : "formFields", - // label : "Form Fields" - // }, - // { - // path : "chartWizard", - // label : "Chart Wizard" - // }, - // { - // path : "security", - // label : "Security" - // }, - // { - // path : "log", - // label : "Log" - // }, - // { - // path : "run/" + changes["reportId"]["currentValue"], - // label : "Run" - // }]; - console.log(changes); - - // this._router.navigate(["search/definition", 7]); } - -} + getReportType(reportTypeObject: any){ + this.reportType= reportTypeObject['reportType']; + } +}
\ No newline at end of file |