Skip to content

Commit

Permalink
Try to get alternate text for variable going
Browse files Browse the repository at this point in the history
Signed-off-by: György Krajcsovits <[email protected]>
  • Loading branch information
krajorama committed Jan 31, 2024
1 parent e44fed5 commit 56bc610
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions grafana-builder/grafana.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ local utils = import 'mixin-utils/utils.libsonnet';
templating+: {
list+: [{
current: {
selected: false,
selected: true,
text: 'hide',
value: '0',
},
Expand All @@ -86,20 +86,19 @@ local utils = import 'mixin-utils/utils.libsonnet';
label: 'Show historic data',
multi: false,
name: 'show_classic_histograms',
options: [
{
selected: true,
text: 'show',
value: '0',
},
{
selected: false,
text: 'hide',
value: '1',
},
],
query: '0, 1',
queryValue: '',
// options: [
// {
// selected: true,
// text: 'hide',
// value: '0',
// },
// {
// selected: false,
// text: 'show',
// value: '1',
// },
// ],
query: 'hide : 0, show : 1',
skipUrlSync: false,
type: 'custom',
useTags: false,
Expand Down

0 comments on commit 56bc610

Please sign in to comment.