From ce8628f338fb4eccce615592394bd690f77a14b5 Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Wed, 25 May 2022 15:07:35 +0200 Subject: [PATCH] temp ignore ts error to fix build --- .../src/backoffice/backoffice-header.element.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/backoffice-header.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/backoffice-header.element.ts index 179dee0ef1..33a60801bb 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/backoffice-header.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/backoffice-header.element.ts @@ -177,7 +177,8 @@ export class UmbBackofficeHeader extends UmbContextConsumerMixin(LitElement) { .subscribe((sectionExtensions: any) => { this._sections = sectionExtensions.filter((section: any) => this._allowedSection.includes(section.alias)); this._visibleSections = this._sections; - + // eslint-disable-next-line @typescript-eslint/ban-ts-comment + // @ts-ignore const currentSectionAlias = this._sections.find(section => section.name === this._location?.params?.section)?.alias; if (!currentSectionAlias) return; this._sectionContext?.setCurrent(currentSectionAlias);