mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 18:34:52 -06:00
two minor bug fixes introduced in recent refactorings
This commit is contained in:
parent
57fe7d5050
commit
433c88a616
@ -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: () => {},
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user