mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-01-15 23:41:55 +00:00
Make dashboard.component comply linter
This commit is contained in:
parent
18b93ecaf8
commit
0cf36912c3
@ -33,8 +33,7 @@ export class DashboardComponent implements OnInit, OnDestroy {
|
|||||||
layoutHandler(data: LayoutCommand) {
|
layoutHandler(data: LayoutCommand) {
|
||||||
if (data.layout.match('vraw-open|vraw-closed|hraw|default-open|default-closed')) {
|
if (data.layout.match('vraw-open|vraw-closed|hraw|default-open|default-closed')) {
|
||||||
this.layout = data.layout;
|
this.layout = data.layout;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
console.log('Invalid webide layout "' + data.layout + '" received!');
|
console.log('Invalid webide layout "' + data.layout + '" received!');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user