update types based on unknown

This commit is contained in:
Jacob Overgaard
2023-02-23 16:36:29 +01:00
parent 3197bc70d7
commit f3ac52cbad

View File

@@ -95,9 +95,7 @@ export class UmbSectionDashboardsElement extends UmbLitElement {
?.extensionsOfTypes<ManifestDashboard | ManifestDashboardCollection>(['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) => {