show searchbar while the index is unhealthy
This commit is contained in:
@@ -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`<umb-dashboard-examine-searcher .searcherName="${this.indexName}"></umb-dashboard-examine-searcher>`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user