update types based on unknown
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user