Fix annotation name
This commit is contained in:
@@ -256,9 +256,9 @@ In order to reduce noise optimize performance, internal and device-only (localho
|
|||||||
ExpertiseLevel: config.ExpertiseLevelUser,
|
ExpertiseLevel: config.ExpertiseLevelUser,
|
||||||
DefaultValue: false,
|
DefaultValue: false,
|
||||||
Annotations: config.Annotations{
|
Annotations: config.Annotations{
|
||||||
config.DisplayOrderAnnotation: cfgOptionEnableHistoryOrder,
|
config.DisplayOrderAnnotation: cfgOptionEnableHistoryOrder,
|
||||||
config.CategoryAnnotation: "General",
|
config.CategoryAnnotation: "General",
|
||||||
config.RequiresFeatureID: account.FeatureHistory,
|
config.RequiresFeatureIDAnnotation: account.FeatureHistory,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -280,10 +280,10 @@ Set to 0 days to keep network history forever. Depending on your device, this mi
|
|||||||
ExpertiseLevel: config.ExpertiseLevelUser,
|
ExpertiseLevel: config.ExpertiseLevelUser,
|
||||||
DefaultValue: 30,
|
DefaultValue: 30,
|
||||||
Annotations: config.Annotations{
|
Annotations: config.Annotations{
|
||||||
config.UnitAnnotation: "Days",
|
config.UnitAnnotation: "Days",
|
||||||
config.DisplayOrderAnnotation: cfgOptionKeepHistoryOrder,
|
config.DisplayOrderAnnotation: cfgOptionKeepHistoryOrder,
|
||||||
config.CategoryAnnotation: "General",
|
config.CategoryAnnotation: "General",
|
||||||
config.RequiresFeatureID: account.FeatureHistory,
|
config.RequiresFeatureIDAnnotation: account.FeatureHistory,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user