dashboard: fix linter warnings

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