Skip to content

Commit b6452fa

Browse files
authored
Update CollectionGraphNode.cs
1 parent c2fe617 commit b6452fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GraphDiff/GraphDiff/Internal/Graph/CollectionGraphNode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ private static bool CheckAllowDelete(GraphNode node)
6262
{
6363
return node.AllowDelete.Value;
6464
}
65-
else if (node.Parent.HasValue)
65+
else if (node.Parent != null)
6666
{
6767
return CheckAllowDelete(node.Parent);
6868
}

0 commit comments

Comments
 (0)