Remove omitempty from Axis Label
If the key is always present in the response, it's easier for the front end to perform tests on contents of its key.pull/10616/head
parent
640afb3f55
commit
a6be00d4f3
|
@ -571,7 +571,7 @@ type Dashboard struct {
|
|||
type Axis struct {
|
||||
Bounds []string `json:"bounds"` // bounds are an arbitrary list of client-defined strings that specify the viewport for a cell
|
||||
LegacyBounds [2]int64 `json:"-"` // legacy bounds are for testing a migration from an earlier version of axis
|
||||
Label string `json:"label,omitempty"` // label is a description of this Axis
|
||||
Label string `json:"label"` // label is a description of this Axis
|
||||
}
|
||||
|
||||
// DashboardCell holds visual and query information for a cell
|
||||
|
|
Loading…
Reference in New Issue