Handle element types in the multi URL picker
This commit is contained in:
committed by
Sebastiaan Janssen
parent
9d3d4b77a0
commit
a025568196
@@ -65,7 +65,7 @@ namespace Umbraco.Web.PropertyEditors.ValueConverters
|
||||
_publishedSnapshotAccessor.PublishedSnapshot.Media.GetById(preview, dto.Udi.Guid) :
|
||||
_publishedSnapshotAccessor.PublishedSnapshot.Content.GetById(preview, dto.Udi.Guid);
|
||||
|
||||
if (content == null)
|
||||
if (content == null || content.ItemType == PublishedItemType.Element)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user