Commit 4c5bdd9d by Torkel Ödegaard

fix(panel): need to check if panel has links

parent fa010224
......@@ -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 '';
......
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