grid: fixed geting started panel pos

pull/9559/head
Torkel Ödegaard 8 years ago
parent 2e77bd0cb1
commit df61558018
  1. 14
      pkg/api/dashboard.go
  2. 2
      public/dashboards/home.json

@ -278,12 +278,14 @@ func addGettingStartedPanelToHomeDashboard(dash *simplejson.Json) {
panels := dash.Get("panels").MustArray()
newpanel := simplejson.NewFromAny(map[string]interface{}{
"type": "gettingstarted",
"id": 123123,
"x": 0,
"y": 3,
"width": 12,
"height": 4,
"type": "gettingstarted",
"id": 123123,
"gridPos": map[string]interface{}{
"x": 0,
"y": 3,
"w": 12,
"h": 4,
},
})
panels = append(panels, newpanel)

@ -65,7 +65,7 @@
}
],
"rows": [],
"schemaVersion": 15,
"schemaVersion": 16,
"style": "dark",
"tags": [],
"templating": {

Loading…
Cancel
Save