Fix unsafe comparison

This commit is contained in:
Kristóf Tóth 2018-05-15 14:03:57 +02:00
parent f62c2f199c
commit fa17b38215

View File

@ -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;
}
}