mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-07-01 10:46:22 +00:00
Layout changes finally work from backend commands
This commit is contained in:
@ -33,7 +33,7 @@ export class DashboardComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
layoutHandler(data: LayoutCommand) {
|
||||
if (data.layout in (this.enabledLayouts)) {
|
||||
if (this.enabledLayouts.has(data.layout)) {
|
||||
this.layout = data.layout;
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user