mirror of
https://github.com/bolucat/Archive.git
synced 2025-10-05 08:08:03 +08:00
Update On Thu Oct 10 20:36:58 CEST 2024
This commit is contained in:
@@ -36,13 +36,13 @@ namespace ServiceLib.ViewModels
|
||||
x => x.SelectedSource,
|
||||
selectedSource => selectedSource != null && !selectedSource.id.IsNullOrEmpty());
|
||||
|
||||
SubAddCmd = ReactiveCommand.Create(() =>
|
||||
SubAddCmd = ReactiveCommand.CreateFromTask(async () =>
|
||||
{
|
||||
EditSubAsync(true);
|
||||
await EditSubAsync(true);
|
||||
});
|
||||
SubDeleteCmd = ReactiveCommand.Create(() =>
|
||||
SubDeleteCmd = ReactiveCommand.CreateFromTask(async () =>
|
||||
{
|
||||
DeleteSubAsync();
|
||||
await DeleteSubAsync();
|
||||
}, canEditRemove);
|
||||
SubEditCmd = ReactiveCommand.CreateFromTask(async () =>
|
||||
{
|
||||
|
Reference in New Issue
Block a user