Three long-noted rough edges from the original analysis, each a one-line touch: - ClassIds becomes static class (was instantiable). - Home.razor.cs drops the `loaded` bool guard (Blazor already runs OnInitializedAsync exactly once per component instance). - Move the "Claudio Schaad" mandator default out of SettingsService into SettingsDataset.DefaultMandator, plumbed through appsettings.Development.json. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
10 lines
231 B
C#
10 lines
231 B
C#
namespace Schaad.Accounting
|
|
{
|
|
public static class ClassIds
|
|
{
|
|
public const int Activa = 1;
|
|
public const int Passiva = 2;
|
|
public const int Income = 3;
|
|
public const int Expenses = 4;
|
|
}
|
|
}
|