Updated ContentItemDisplay model to contain IsEdited property

This commit is contained in:
Robert
2018-04-30 16:06:53 +02:00
parent c435597d7e
commit a7f9628b48
2 changed files with 5 additions and 1 deletions

View File

@@ -36,6 +36,7 @@ namespace Umbraco.Web.Models.Mapping
Name = source.GetName(x.IsoCode),
Exists = source.IsCultureAvailable(x.IsoCode), // segments ??
PublishedState = source.PublishedState.ToString(),
IsEdited = source.IsCultureEdited(x.IsoCode)
//Segment = ?? We'll need to populate this one day when we support segments
}).ToList();