Store.Remove

This commit is contained in:
ahmed committed 2023-01-12 15:33:58 +03:00
1 parent f8b70d1ea6
commit 73fb67b860
2 files changed
+12 -2

No files matched your search

+1 -1
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;