mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(panel): need to check if panel has links
This commit is contained in:
@@ -252,7 +252,7 @@ export class PanelCtrl {
|
|||||||
if (!!this.panel.description) {
|
if (!!this.panel.description) {
|
||||||
return 'info';
|
return 'info';
|
||||||
}
|
}
|
||||||
if (this.panel.links.length > 0) {
|
if (this.panel.links && this.panel.links.length) {
|
||||||
return 'links';
|
return 'links';
|
||||||
}
|
}
|
||||||
return '';
|
return '';
|
||||||
|
|||||||
Reference in New Issue
Block a user