From ae700fb391b1740074bb12c439219e6d2d360729 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 1 Mar 2022 11:19:37 -0700 Subject: [PATCH] Fix distribution list filter did not change filters when its value changed --- 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 23328a8c30..0b1fcfa729 100644 --- a/api/js/etemplate/et2_extension_nextmatch.ts +++ b/api/js/etemplate/et2_extension_nextmatch.ts @@ -3929,7 +3929,7 @@ export class et2_nextmatch_header_bar extends et2_DOMWidget implements et2_INext return true; }; - if(window.customElements.get(_widget.localName) !== "undefined") + if(_widget.localName && window.customElements.get(_widget.localName) !== "undefined") { // @ts-ignore _widget.onchange = (ev) =>