Browse Source

handle value missing

pull/1121/head
pythongosssss 1 year ago
parent
commit
b948b2cf41
  1. 3
      web/extensions/core/contextMenuFilter.js

3
web/extensions/core/contextMenuFilter.js

@ -30,6 +30,9 @@ const ext = {
?.value;
let selectedIndex = clickedComboValue ? values.findIndex(v => v === clickedComboValue) : 0;
if (selectedIndex < 0) {
selectedIndex = 0;
}
let selectedItem = displayedItems[selectedIndex];
updateSelected();

Loading…
Cancel
Save