We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe08bc6 commit 6fd07f3Copy full SHA for 6fd07f3
1 file changed
js/webui.js
@@ -2184,7 +2184,7 @@ var theWebUI =
2184
...labelPanelEl.querySelectorAll(':scope > :not(li[id^="clabel__"])'),
2185
...customLabelElements
2186
);
2187
- if (this.actLbls['plabel_cont'].some(lbl => !document.getElementById(lbl)))
+ if ((this.actLbls['plabel_cont'] ?? []).some(lbl => !document.getElementById(lbl)))
2188
{
2189
// Remove non-existent active labels (to potentially show 'All' label as selected)
2190
this.actLbls['plabel_cont'] = this.actLbls['plabel_cont']
0 commit comments