Commit df615580 by Torkel Ödegaard

grid: fixed geting started panel pos

parent 2e77bd0c
...@@ -278,12 +278,14 @@ func addGettingStartedPanelToHomeDashboard(dash *simplejson.Json) { ...@@ -278,12 +278,14 @@ func addGettingStartedPanelToHomeDashboard(dash *simplejson.Json) {
panels := dash.Get("panels").MustArray() panels := dash.Get("panels").MustArray()
newpanel := simplejson.NewFromAny(map[string]interface{}{ newpanel := simplejson.NewFromAny(map[string]interface{}{
"type": "gettingstarted", "type": "gettingstarted",
"id": 123123, "id": 123123,
"x": 0, "gridPos": map[string]interface{}{
"y": 3, "x": 0,
"width": 12, "y": 3,
"height": 4, "w": 12,
"h": 4,
},
}) })
panels = append(panels, newpanel) panels = append(panels, newpanel)
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
} }
], ],
"rows": [], "rows": [],
"schemaVersion": 15, "schemaVersion": 16,
"style": "dark", "style": "dark",
"tags": [], "tags": [],
"templating": { "templating": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment