Codemaid
This commit is contained in:
@@ -18,7 +18,7 @@ public partial class ItemContentViewModel(IServiceProvider provider,
|
||||
|
||||
public Task Handle(NotifyEventArgs<ItemCategory<string>> args)
|
||||
{
|
||||
if (args.Sender is ItemCategory<string> category
|
||||
if (args.Sender is ItemCategory<string> category
|
||||
&& category.Value is string value)
|
||||
{
|
||||
Activate(() => new ActivationBuilder(new ActivationEventArgs<IItemEntryViewModel,
|
||||
@@ -27,4 +27,4 @@ public partial class ItemContentViewModel(IServiceProvider provider,
|
||||
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user