mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
grid: fixed geting started panel pos
This commit is contained in:
parent
2e77bd0cb1
commit
df61558018
@ -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…
Reference in New Issue
Block a user