|
|
|
@ -16,6 +16,7 @@ |
|
|
|
|
|
|
|
import { Component, OnInit } from '@angular/core'; |
|
|
|
import { MenuService } from '@core/services/menu.service'; |
|
|
|
import { MenuSection } from '@core/services/menu.models'; |
|
|
|
|
|
|
|
@Component({ |
|
|
|
selector: 'tb-side-menu', |
|
|
|
@ -29,6 +30,10 @@ export class SideMenuComponent implements OnInit { |
|
|
|
constructor(private menuService: MenuService) { |
|
|
|
} |
|
|
|
|
|
|
|
trackByMenuSection(index: number, section: MenuSection){ |
|
|
|
return section.name; |
|
|
|
} |
|
|
|
|
|
|
|
ngOnInit() { |
|
|
|
} |
|
|
|
|
|
|
|
|