From f3ac52cbad1ea4b5d09a2c48f3293c67dd463fc9 Mon Sep 17 00:00:00 2001 From: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com> Date: Thu, 23 Feb 2023 16:36:29 +0100 Subject: [PATCH] update types based on unknown --- .../section/section-dashboards/section-dashboards.element.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/section/section-dashboards/section-dashboards.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/section/section-dashboards/section-dashboards.element.ts index 61f4bf1fd3..e38dd43cb5 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/section/section-dashboards/section-dashboards.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/section/section-dashboards/section-dashboards.element.ts @@ -95,9 +95,7 @@ export class UmbSectionDashboardsElement extends UmbLitElement { ?.extensionsOfTypes(['dashboard', 'dashboardCollection']) .pipe( map((extensions) => - extensions.filter((extension) => - (extension as ManifestWithMeta).meta.sections.includes(this._currentSectionAlias) - ) + extensions.filter((extension) => extension.meta.sections.includes(this._currentSectionAlias ?? '')) ) ), (dashboards) => {