Map BackOfficeNotification in ContentMapDefinitions (#13874)

* Map Notifications

* Empty line

(cherry picked from commit 5158d8119d)
This commit is contained in:
Erik-Jan Westendorp
2023-03-02 14:23:20 +01:00
committed by Sebastiaan Janssen
parent 010ea5a2aa
commit a56a6bae31

View File

@@ -162,6 +162,11 @@ internal class ContentMapDefinition : IMapDefinition
target.Updater = source.Updater;
target.Urls = source.Urls;
target.Variants = context.MapEnumerable<ContentVariantDisplay, ContentVariantScheduleDisplay>(source.Variants);
foreach (BackOfficeNotification backOfficeNotification in source.Notifications)
{
target.Notifications.Add(backOfficeNotification);
}
}
// Umbraco.Code.MapAll