dashboard: fix linter warnings

Signed-off-by: Gregory Meno <gmeno@redhat.com>