BaseDataWindow: Fix data renewal
This commit is contained in:
1 parent
1419c834ac
commit
1047bc6e8f
5 files changed
+33
-9
No files matched your search
@@ -31,7 +31,11 @@ namespace Elwig.Windows {
|
||||
}
|
||||
|
||||
private async Task AreaCommitmentTypesFinishEditing(AppDbContext ctx) {
|
||||
ControlUtils.RenewItemsSource(AreaCommitmentTypeList, await ctx.AreaCommitmentTypes.OrderBy(v => v.SortId).ToListAsync());
|
||||
ControlUtils.RenewItemsSource(AreaCommitmentTypeList, await ctx.AreaCommitmentTypes
|
||||
.OrderBy(v => v.VtrgId)
|
||||
.Include(t => t.WineVar)
|
||||
.Include(t => t.WineAttr)
|
||||
.ToListAsync());
|
||||
_actList = null;
|
||||
_acts = null;
|
||||
_actIds = null;
|
||||
|
||||
Reference in new issue
Block a user