Skip to content

Commit 9b3a280

Browse files
ptxmacK-Phoen
authored andcommitted
Add displayName to field config
1 parent 948635f commit 9b3a280

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

panel.go

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -349,15 +349,16 @@ type (
349349
Mode string `json:"mode"`
350350
}
351351
FieldConfigDefaults struct {
352-
Unit string `json:"unit"`
353-
NoValue string `json:"noValue,omitempty"`
354-
Decimals *int `json:"decimals,omitempty"`
355-
Min *float64 `json:"min,omitempty"`
356-
Max *float64 `json:"max,omitempty"`
357-
Color FieldConfigColor `json:"color"`
358-
Thresholds Thresholds `json:"thresholds"`
359-
Custom FieldConfigCustom `json:"custom"`
360-
Links []Link `json:"links,omitempty"`
352+
Unit string `json:"unit"`
353+
NoValue string `json:"noValue,omitempty"`
354+
Decimals *int `json:"decimals,omitempty"`
355+
Min *float64 `json:"min,omitempty"`
356+
Max *float64 `json:"max,omitempty"`
357+
Color FieldConfigColor `json:"color"`
358+
Thresholds Thresholds `json:"thresholds"`
359+
Custom FieldConfigCustom `json:"custom"`
360+
Links []Link `json:"links,omitempty"`
361+
DisplayName string `json:"displayName,omitempty"`
361362
}
362363
FieldConfigOverrideProperty struct {
363364
ID string `json:"id"`

0 commit comments

Comments
 (0)