mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(): fixed issue with scripted dashboard example, fixes #4579
This commit is contained in:
parent
22126e99c1
commit
a27d72b437
@ -428,6 +428,8 @@ function (angular, $, _, moment) {
|
||||
// update graph yaxes changes
|
||||
panelUpgrades.push(function(panel) {
|
||||
if (panel.type !== 'graph') { return; }
|
||||
if (!panel.grid) { return; }
|
||||
|
||||
if (!panel.yaxes) {
|
||||
panel.yaxes = [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user