Skip to content

Commit

Permalink
Set the piechart.Options.displayLabels field as optional
Browse files Browse the repository at this point in the history
If set to null, this field breaks the Grafana UI. Setting it as optional
allows us to omit it in the JSON representation when null.
  • Loading branch information
K-Phoen committed Sep 27, 2024
1 parent 4cd0697 commit cd35dd6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/compiler/kind_registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,13 @@ passes:
- fields_set_not_required:
fields: [ common.TableFieldOptions.CellOptions ]

##################
# piechart panel #
##################

- fields_set_not_required:
fields: [ piechart.Options.displayLabels ]

#####################
# candlestick panel #
#####################
Expand Down

0 comments on commit cd35dd6

Please sign in to comment.