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