mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2024-12-05 02:21:31 +00:00
Fix unsafe comparison
This commit is contained in:
parent
f62c2f199c
commit
fa17b38215
@ -44,7 +44,7 @@ export class DashboardComponent implements OnInit, OnDestroy {
|
||||
} else {
|
||||
console.log('Invalid ide layout "' + data.layout + '" received!');
|
||||
}
|
||||
if (data.hide_messages != undefined) {
|
||||
if (data.hide_messages !== undefined) {
|
||||
this.hide_messages = data.hide_messages;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user