From 5f78602e4d55bb86789abbdec995eb4960866643 Mon Sep 17 00:00:00 2001 From: ralf Date: Wed, 7 Aug 2024 12:22:14 +0200 Subject: [PATCH] fix typo stalling removal of search phrase --- api/js/etemplate/et2_extension_nextmatch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/et2_extension_nextmatch.ts b/api/js/etemplate/et2_extension_nextmatch.ts index 29933f6faa..617279f905 100644 --- a/api/js/etemplate/et2_extension_nextmatch.ts +++ b/api/js/etemplate/et2_extension_nextmatch.ts @@ -3802,7 +3802,7 @@ export class et2_nextmatch_header_bar extends et2_DOMWidget implements et2_INext await select.updateComplete; // Legacy: Add in 'All' option for cat_id, if not provided. if (name == 'cat_id' && !['mail'].includes(this.getInstanceManager().app) && - !select.select_options.filter(options => option.value === '').length) + !select.select_options.filter(option => option.value === '').length) { select.emptyLabel = this.egw().lang('All categories'); }