We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb45b62 commit fdb6171Copy full SHA for fdb6171
src/Umbraco.Core/Models/MediaWithCrops.cs
@@ -8,14 +8,13 @@ namespace Umbraco.Core.Models
8
/// </summary>
9
public class MediaWithCrops : PublishedContentWrapped
10
{
11
- public IPublishedContent MediaItem { get; }
+ public IPublishedContent MediaItem => Unwrap();
12
13
public ImageCropperValue LocalCrops { get; }
14
15
public MediaWithCrops(IPublishedContent content, ImageCropperValue localCrops)
16
: base(content)
17
18
- MediaItem = content;
19
LocalCrops = localCrops;
20
}
21
0 commit comments