feat(annotation.js): Konfigurierte Beschriftungen

This commit is contained in:
Developer 02
2025-03-24 12:48:28 +01:00
parent 9ae1efb946
commit e9cb49c6a7
5 changed files with 29 additions and 33 deletions

View File

@@ -11,9 +11,9 @@ public class ConfigController : ControllerBase
{
private readonly AnnotationParams _annotParams;
public ConfigController(IOptions<AnnotationParams> annotationParamsOptions)
public ConfigController(IOptionsMonitor<AnnotationParams> annotationParamsOptions)
{
_annotParams = annotationParamsOptions.Value;
_annotParams = annotationParamsOptions.CurrentValue;
}
[HttpGet("Annotations")]