fix dropdown empty

This commit is contained in:
Yuri Kuznetsov
2024-06-26 13:51:19 +03:00
parent 5b0787474e
commit 6bce395daf
+1 -1
View File
@@ -505,7 +505,7 @@ class Dialog {
$main.append($button);
});
const allDdItemsHidden = this.dropdownItemList.filter(o => !o.hidden).length === 0;
const allDdItemsHidden = this.dropdownItemList.filter(o => o && !o.hidden).length === 0;
const $dropdown = $('<div>')
.addClass('btn-group')