Fix annotation name

This commit is contained in:
Daniel 2023-10-06 12:11:33 +02:00
parent e0aad2962c
commit 4864f4e40f

View file

@ -258,7 +258,7 @@ In order to reduce noise optimize performance, internal and device-only (localho
Annotations: config.Annotations{
config.DisplayOrderAnnotation: cfgOptionEnableHistoryOrder,
config.CategoryAnnotation: "General",
config.RequiresFeatureID: account.FeatureHistory,
config.RequiresFeatureIDAnnotation: account.FeatureHistory,
},
})
if err != nil {
@ -283,7 +283,7 @@ Set to 0 days to keep network history forever. Depending on your device, this mi
config.UnitAnnotation: "Days",
config.DisplayOrderAnnotation: cfgOptionKeepHistoryOrder,
config.CategoryAnnotation: "General",
config.RequiresFeatureID: account.FeatureHistory,
config.RequiresFeatureIDAnnotation: account.FeatureHistory,
},
})
if err != nil {