panels: fix loading panels with non-array targets (refactor)
panels: fix loading panels with non-array targets (refactor)

grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana