Fix a small bug in the dashboard view