mirror of
https://github.com/safing/portbase
synced 2025-09-01 10:09:50 +00:00
Add category annotations to options
This commit is contained in:
parent
19f75bb6ca
commit
62d2737849
3 changed files with 3 additions and 0 deletions
|
@ -50,6 +50,7 @@ func registerConfig() error {
|
|||
RequiresRestart: true,
|
||||
Annotations: config.Annotations{
|
||||
config.DisplayOrderAnnotation: 128,
|
||||
config.CategoryAnnotation: "Development",
|
||||
},
|
||||
})
|
||||
if err != nil {
|
||||
|
|
|
@ -48,6 +48,7 @@ func registerExpertiseLevelOption() {
|
|||
DefaultValue: ExpertiseLevelNameUser,
|
||||
Annotations: Annotations{
|
||||
DisplayHintAnnotation: DisplayHintOneOf,
|
||||
CategoryAnnotation: "Expertise & Release",
|
||||
},
|
||||
PossibleValues: []PossibleValue{
|
||||
{
|
||||
|
|
|
@ -46,6 +46,7 @@ func registerReleaseLevelOption() {
|
|||
DefaultValue: ReleaseLevelNameStable,
|
||||
Annotations: Annotations{
|
||||
DisplayHintAnnotation: DisplayHintOneOf,
|
||||
CategoryAnnotation: "Expertise & Release",
|
||||
},
|
||||
PossibleValues: []PossibleValue{
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue