diff --git a/public/app/features/panel/panel_ctrl.ts b/public/app/features/panel/panel_ctrl.ts index 7be578c7fde..83c79f4123b 100644 --- a/public/app/features/panel/panel_ctrl.ts +++ b/public/app/features/panel/panel_ctrl.ts @@ -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 '';