Parameter improvements
This commit is contained in:
@@ -10,7 +10,8 @@ public class NavigateBackHandler(IComponentScopeProvider provider) :
|
||||
if (provider.Get(args.Scope ?? "Root")
|
||||
is ComponentScopeDescriptor descriptor)
|
||||
{
|
||||
if (descriptor?.Services?.GetService<INavigationScope>() is INavigationScope navigationScope)
|
||||
if (descriptor?.Services?.GetService<INavigationScope>() is
|
||||
INavigationScope navigationScope)
|
||||
{
|
||||
navigationScope.Back(args.Context);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user