BaseDataWindow: Fix 'Schilling crash'
All checks were successful
Test / Run tests (push) Successful in 2m17s
All checks were successful
Test / Run tests (push) Successful in 2m17s
This commit is contained in:
@ -152,6 +152,7 @@ namespace Elwig.Windows {
|
|||||||
ControlUtils.RenewItemsSource(SeasonList, await ctx.Seasons
|
ControlUtils.RenewItemsSource(SeasonList, await ctx.Seasons
|
||||||
.OrderByDescending(s => s.Year)
|
.OrderByDescending(s => s.Year)
|
||||||
.Include(s => s.Modifiers)
|
.Include(s => s.Modifiers)
|
||||||
|
.Include(s => s.Currency)
|
||||||
.ToListAsync(), null, ControlUtils.RenewSourceDefault.First);
|
.ToListAsync(), null, ControlUtils.RenewSourceDefault.First);
|
||||||
var year = (SeasonList.SelectedItem as Season)?.Year;
|
var year = (SeasonList.SelectedItem as Season)?.Year;
|
||||||
ControlUtils.RenewItemsSource(BranchList, await ctx.Branches
|
ControlUtils.RenewItemsSource(BranchList, await ctx.Branches
|
||||||
|
Reference in New Issue
Block a user