Tweaks to RelatedLinks - moved Content property from RelatedLinkBase to RelatedLink and populated Content property for non UDI RelatedLink editor
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using Newtonsoft.Json;
|
||||
using Umbraco.Core.Models;
|
||||
|
||||
namespace Umbraco.Web.Models
|
||||
{
|
||||
@@ -15,7 +14,5 @@ namespace Umbraco.Web.Models
|
||||
public bool IsInternal { get; set; }
|
||||
[JsonProperty("type")]
|
||||
public RelatedLinkType Type { get; set; }
|
||||
[JsonIgnore]
|
||||
public IPublishedContent Content { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user