From 3775a63ffab2fbec8a8b2e4abdaeedd517cd2d95 Mon Sep 17 00:00:00 2001 From: Lone Iversen <108085781+loivsen@users.noreply.github.com> Date: Wed, 8 May 2024 11:26:15 +0200 Subject: [PATCH] show searchbar while the index is unhealthy --- .../views/section-view-examine-indexers.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/search/examine-management-dashboard/views/section-view-examine-indexers.ts b/src/Umbraco.Web.UI.Client/src/packages/search/examine-management-dashboard/views/section-view-examine-indexers.ts index bb38b4fb9f..6ab383f8ab 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/search/examine-management-dashboard/views/section-view-examine-indexers.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/search/examine-management-dashboard/views/section-view-examine-indexers.ts @@ -121,7 +121,8 @@ export class UmbDashboardExamineIndexElement extends UmbLitElement { } private renderIndexSearch() { - if (!this._indexData || this._indexData.healthStatus.status !== HealthStatusModel.HEALTHY) return nothing; + // Do we want to show the search while rebuilding? + if (!this._indexData || this._indexData.healthStatus.status === HealthStatusModel.REBUILDING) return nothing; return html``; }