Skip to content

Commit

Permalink
Add case for item not in a site or media item
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmaclean committed Apr 19, 2022
1 parent 153883f commit cb8e4a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Binary file modified sc.package/Published.Page.Url-1.0.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ public void Process(RenderContentEditorArgs args)

rootUrlMissing = false;
}

}
else if (editingItem.Paths.IsMediaItem && editingItem.TemplateID != TemplateIDs.MediaFolder)
{
Expand All @@ -126,6 +125,10 @@ public void Process(RenderContentEditorArgs args)

rootUrlMissing = false;
}
else
{
return;
}

StringBuilder sectionText = new StringBuilder();

Expand Down

0 comments on commit cb8e4a9

Please sign in to comment.