Show the content app for media folders with content properties
This commit is contained in:
committed by
Sebastiaan Janssen
parent
6880937b90
commit
9062b400d4
@@ -28,7 +28,7 @@ namespace Umbraco.Web.ContentApps
|
||||
Weight = Weight
|
||||
});
|
||||
|
||||
case IMedia media when !media.ContentType.IsContainer && media.ContentType.Alias != Core.Constants.Conventions.MediaTypes.Folder:
|
||||
case IMedia media when !media.ContentType.IsContainer || media.Properties.Count > 0:
|
||||
return _mediaApp ?? (_mediaApp = new ContentApp
|
||||
{
|
||||
Alias = "umbContent",
|
||||
|
||||
Reference in New Issue
Block a user