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
Tim Raymond 2017-08-02 13:07:27 -04:00
parent 640afb3f55
commit a6be00d4f3
1 changed files with 3 additions and 3 deletions

View File

@ -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