Skip to content

Commit

Permalink
fix: changing the default value for to and from feilds in table and l…
Browse files Browse the repository at this point in the history
…ine widget from 0 to blank

changing the default value for to and from feilds in table and line widget from 0 to blank
  • Loading branch information
vagrawal-newrelic committed Jul 31, 2024
1 parent 36d7acf commit b750d38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/dashboards/type_overrides.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ type DashboardLineWidgetThresholdInput struct {
}

type DashboardLineWidgetThresholdThresholdInput struct {
From *float64 `json:"from,omitempty"`
To *float64 `json:"to,omitempty"`
From *string `json:"from,omitempty"`
To *string `json:"to,omitempty"`
Name string `json:"name,omitempty"`
Severity DashboardLineTableWidgetsAlertSeverity `json:"severity,omitempty"`
}

type DashboardTableWidgetThresholdInput struct {
From *float64 `json:"from,omitempty"`
To *float64 `json:"to,omitempty"`
From *string `json:"from,omitempty"`
To *string `json:"to,omitempty"`
ColumnName string `json:"columnName,omitempty"`
Severity DashboardLineTableWidgetsAlertSeverity `json:"severity,omitempty"`
}
Expand Down

0 comments on commit b750d38

Please sign in to comment.