grid: fixed geting started panel pos

This commit is contained in:
Torkel Ödegaard 2017-10-10 19:48:06 +02:00
parent 2e77bd0cb1
commit df61558018
2 changed files with 9 additions and 7 deletions

View File

@ -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)

View File

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