mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-07-09 23:16:24 +00:00
All the enabled layouts are now enlisted on the sidebar in accordance with config.ts
This commit is contained in:
@ -1,15 +1,16 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { config } from '../config';
|
||||
|
||||
@Component({
|
||||
selector: 'app-sidebar',
|
||||
templateUrl: './sidebar.component.html',
|
||||
styleUrls: ['./sidebar.component.scss']
|
||||
})
|
||||
|
||||
export class SidebarComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
layout: string = config.dashboard.currentLayout;
|
||||
enabledLayouts: Set<string> = config.dashboard.enabledLayouts;
|
||||
constructor() {}
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user