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>
14 lines
No EOL
395 B
C#
14 lines
No EOL
395 B
C#
namespace Schaad.Accounting.Datasets
|
|
{
|
|
public class SettingsDataset
|
|
{
|
|
public string DataPath { get; set; }
|
|
|
|
public string FixerIoApiKey { get; set; }
|
|
|
|
/// <summary>
|
|
/// Mandator selected when the app starts. Users can switch via the header dropdown.
|
|
/// </summary>
|
|
public string DefaultMandator { get; set; } = "Claudio Schaad";
|
|
}
|
|
} |