[fix:] default module config was wrong

This commit is contained in:
2026-09-19 20:15:56 +02:00
parent 59ea707007
commit 6ed8c0e231
2 changed files with 6 additions and 3 deletions
+5 -1
View File
@@ -20,7 +20,7 @@ public class Settings
public Customers customers = new();
public PdfExportSettings pdfExport { get; set; } = new();
public ModuleConfig moduleConfig { get; set; } = new();
public ModuleConfig moduleConfig { get; set; } = new ModuleConfig();
public Settings()
{
@@ -79,6 +79,10 @@ public class ModuleConfig
/// Contains enabled modules and whether it's password-protected or not (non-existing-feature but soon)
/// </summary>
public List<(LCModule, bool)> EnabledModules = new();
public ModuleConfig()
{
EnabledModules = new List<(LCModule,bool)>();
}
}
public enum LCModule