Skip to content

Commit

Permalink
fix(converter): expect auto value for gauge orientation
Browse files Browse the repository at this point in the history
  • Loading branch information
jlevesy committed Jul 31, 2023
1 parent b66ea6a commit 85b1305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/converter/gauge.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func (converter *JSON) convertGaugeValueType(panel sdk.Panel) string {

func (converter *JSON) convertGaugeOrientation(panel sdk.Panel) string {
switch panel.GaugePanel.Options.Orientation {
case "":
case "", "auto":
return "auto"
case "horizontal":
return "horizontal"
Expand Down

0 comments on commit 85b1305

Please sign in to comment.