fix(): fixed issue with scripted dashboard example, fixes #4579

This commit is contained in:
Torkel Ödegaard 2016-04-06 08:49:47 -04:00
parent 22126e99c1
commit a27d72b437

View File

@ -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 = [
{