Fix bug in view for dashboard json configs without variables key at all

3 jobs for 2.1.1 in 6 minutes and 11 seconds (queued for 1 second)
latest
Status Name Job ID Coverage
  Build
passed build-backend #2749

00:00:29

passed build-frontend #2750

00:01:39

 
  Test
failed test-e2e #2751
sol1-hq

00:04:31

 
Name Stage Failure
failed
test-e2e Test
   gotchas/dashboard/rename_overwrite_      00:02        1        1        -        -        - 
existing.spec.js

viewer/check_card_with_plugin_outpu 00:08 1 1 - - -
t_and_template_variables.spec.js

1 of 8 failed (13%) 00:55 12 11 1 - -

ERROR: Job failed: exit code 1