Resolve "Component: Text Element Navigator" #67
@@ -47,7 +47,7 @@ public static class SectionProcessor
|
|||||||
}
|
}
|
||||||
|
|
||||||
// In the case, when the user adds a section to the root, handle the insert differently:
|
// In the case, when the user adds a section to the root, handle the insert differently:
|
||||||
if (string.IsNullOrEmpty(parentKey))
|
if (string.IsNullOrWhiteSpace(parentKey))
|
||||||
{
|
{
|
||||||
var rootSection = new Section
|
var rootSection = new Section
|
||||||
{
|
{
|
||||||
@@ -66,7 +66,7 @@ public static class SectionProcessor
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
e.ToProcessorResult<Section>();
|
return e.ToProcessorResult<Section>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user