DeliveryAdminWindow: Cache modifiers
All checks were successful
Test / Run tests (push) Successful in 2m3s

This commit is contained in:
2026-04-05 23:19:13 +02:00
parent ae4e5be820
commit e25f4bb1bf
4 changed files with 14 additions and 14 deletions

View File

@@ -168,7 +168,7 @@ namespace Elwig.Windows {
.OrderBy(t => t.VtrgId)
.ToListAsync(), null, ControlUtils.RenewSourceDefault.First);
ControlUtils.RenewItemsSource(WineCultivationList, await ctx.FetchWineCultivations().ToListAsync(), null, ControlUtils.RenewSourceDefault.First);
ControlUtils.RenewItemsSource(SeasonModifierList, await ctx.FetchModifiers(year).ToListAsync(), null, ControlUtils.RenewSourceDefault.First);
ControlUtils.RenewItemsSource(SeasonModifierList, await ctx.FetchModifiers(year ?? 0).ToListAsync(), null, ControlUtils.RenewSourceDefault.First);
}
protected override void UpdateButtons() {