Commit 433c88a6 by Torkel Ödegaard

two minor bug fixes introduced in recent refactorings

parent 57fe7d50
......@@ -24,7 +24,7 @@ export class GeneralTabCtrl {
const panelPropsString = panelPropsToTrack
.map(prop => prop + '=' + (panel[prop] && panel[prop].toString ? panel[prop].toString() : panel[prop]))
.join();
const panelLinks = panel.links;
const panelLinks = panel.links || [];
const panelLinksString = panelLinks.map(obj2string).join();
return panelPropsString + panelLinksString;
};
......
......@@ -9,7 +9,7 @@ function panelLinksEditor() {
},
restrict: 'E',
controller: 'PanelLinksEditorCtrl',
templateUrl: 'public/app/features/dashboard/panellinks/module.html',
templateUrl: 'public/app/features/panel/panellinks/module.html',
link: () => {},
};
}
......
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