[#79] DeliveryAdminWindow: Cache modifiers

This commit is contained in:
2026-04-05 23:19:13 +02:00
parent e5e5e10cd7
commit 278d79429b
4 changed files with 15 additions and 15 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() {