fix(): fixed issue with scripted dashboard example, fixes #4579
This commit is contained in:
@@ -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 = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user