Skip to content

Commit 0c8e4d3

Browse files
authored
allow table link in new tab (#238)
1 parent 87542f0 commit 0c8e4d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

grafana-builder/grafana.libsonnet

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@
282282
type: if std.objectHas(labelStyle, 'type') then labelStyle.type else 'number',
283283
unit: if std.objectHas(labelStyle, 'unit') then labelStyle.unit else 'short',
284284
link: std.objectHas(labelStyle, 'link'),
285+
linkTargetBlank: if std.objectHas(labelStyle, 'linkTargetBlank') then labelStyle.linkTargetBlank else false,
285286
linkTooltip: if std.objectHas(labelStyle, 'linkTooltip') then labelStyle.linkTooltip else 'Drill down',
286287
linkUrl: if std.objectHas(labelStyle, 'link') then labelStyle.link else '',
287288
},

0 commit comments

Comments
 (0)