Tweaks to RelatedLinks - moved Content property from RelatedLinkBase to RelatedLink and populated Content property for non UDI RelatedLink editor

This commit is contained in:
Jeavon
2017-04-04 12:08:10 +01:00
parent 2ed4948619
commit ece73578c8
3 changed files with 10 additions and 9 deletions

View File

@@ -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; }
}
}