Skip to content
This repository was archived by the owner on Jun 26, 2023. It is now read-only.

Commit 54b8685

Browse files
committed
add check if orienation and displayMode is configured
1 parent 24512e6 commit 54b8685

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

grafonnet/bar_gauge_panel.libsonnet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
],
5656
"fields": ""
5757
},
58-
"orientation": orientation,
59-
"displayMode": displayMode,
58+
[if orientation !=null then 'orientation']: orientation,
59+
[if displayMode !=null then 'displayMode']: displayMode,
6060
"showUnfilled": true
6161
},
6262
},

0 commit comments

Comments
 (0)