dashboard: fix loading of snapshot and scripted dashboard (#10755)
dashboard: fix loading of snapshot and scripted dashboard (#10755)

Fixes #10753
grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana