diff --git a/src/Umbraco.Cms.Integrations.Search.Algolia/Api/Management/Controllers/GetContentTypesController.cs b/src/Umbraco.Cms.Integrations.Search.Algolia/Api/Management/Controllers/GetContentTypesController.cs index 440f8c47..06226984 100644 --- a/src/Umbraco.Cms.Integrations.Search.Algolia/Api/Management/Controllers/GetContentTypesController.cs +++ b/src/Umbraco.Cms.Integrations.Search.Algolia/Api/Management/Controllers/GetContentTypesController.cs @@ -54,7 +54,7 @@ private List GetContentTypes(int? id = null) foreach (var contentType in contentTypes) { var properties = new List(); - foreach (var propertyGroup in contentType.PropertyGroups) + foreach (var propertyGroup in contentType.CompositionPropertyGroups) { if (propertyGroup.PropertyTypes is null) { diff --git a/src/Umbraco.Cms.Integrations.Search.Algolia/Client/src/dashboard/search-management-dashboard/views/algolia-dashboard-overview.ts b/src/Umbraco.Cms.Integrations.Search.Algolia/Client/src/dashboard/search-management-dashboard/views/algolia-dashboard-overview.ts index 20f0e8c4..273e1316 100644 --- a/src/Umbraco.Cms.Integrations.Search.Algolia/Client/src/dashboard/search-management-dashboard/views/algolia-dashboard-overview.ts +++ b/src/Umbraco.Cms.Integrations.Search.Algolia/Client/src/dashboard/search-management-dashboard/views/algolia-dashboard-overview.ts @@ -127,6 +127,7 @@ export class AlgoliaDashboardOverviewElement extends UmbElementMixin(LitElement) ${index.name} ${index.contentData.map((contentData) => { + if (!contentData.properties) return; return html` obj.name).join(', ')}> diff --git a/src/Umbraco.Cms.Integrations.Search.Algolia/Umbraco.Cms.Integrations.Search.Algolia.csproj b/src/Umbraco.Cms.Integrations.Search.Algolia/Umbraco.Cms.Integrations.Search.Algolia.csproj index 13b2d92f..7daf894c 100644 --- a/src/Umbraco.Cms.Integrations.Search.Algolia/Umbraco.Cms.Integrations.Search.Algolia.csproj +++ b/src/Umbraco.Cms.Integrations.Search.Algolia/Umbraco.Cms.Integrations.Search.Algolia.csproj @@ -15,7 +15,7 @@ https://github.com/umbraco/Umbraco.Cms.Integrations/tree/main/src/Umbraco.Cms.Integrations.Search.Algolia https://github.com/umbraco/Umbraco.Cms.Integrations - 5.0.0 + 5.0.1 Umbraco HQ Umbraco Umbraco;Umbraco-Marketplace