2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-27 05:23:13 +00:00

Store.Remove

This commit is contained in:
2023-01-12 15:33:58 +03:00
parent f8b70d1ea6
commit 73fb67b860
2 changed files with 12 additions and 2 deletions

View File

@ -396,7 +396,7 @@ public static class Warehouse
for (var i = 1; i < p.Length; i++)
{
var children = await resource.Instance.Children<IResource>(p[i]);
if (children.Length > 0)
if (children != null && children.Length > 0)
{
if (i == p.Length - 1)
return children;