File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ spec: {
192192 // migrate fixedColor overrides to querySettings when applicable
193193 #querySettings : [
194194 for i , target in (* #panel .targets | []) {
195- queryName : " Query #\(i ) "
195+ queryName : " Query #\(i + 1 ) "
196196 for override in (* #panel .fieldConfig .overrides | [])
197197 if (override .matcher .id == " byName " || override .matcher .id == " byRegexp " || override .matcher .id == " byFrameRefID " ) && override .matcher .options != _|_
198198 for property in override .properties
Original file line number Diff line number Diff line change @@ -63,11 +63,11 @@ spec: close({
6363
6464#querySettings : [...{
6565 queryName : strings .MinRunes (1 )
66- colorMode ?: " fixed " | " fixed-single " // NB: "palette" could be added later
67- colorValue ?: =~ " ^#(?:[0-9a-fA-F]{3}){1,2}$ " // hexadecimal color code
68- lineStyle ?: #lineStyle
69- areaOpacity ?: #areaOpacity
70- format ?: common .#format
66+ colorMode ?: " fixed " | " fixed-single " // NB: "palette" could be added later
67+ colorValue ?: =~ " ^#(?:[0-9a-fA-F]{3}){1,2}$ " // hexadecimal color code
68+ lineStyle ?: #lineStyle
69+ areaOpacity ?: #areaOpacity
70+ format ?: common .#format
7171}]
7272
7373#lineStyle : " solid " | " dashed " | " dotted "
You can’t perform that action at this time.
0 commit comments