Avoid null pointer exception in AlmDashboardComponent