Don't produce an error when the edit list is empty and the filter column isn't

This commit is contained in:
Kevin MacMartin 2023-10-03 14:22:42 -04:00
parent da721d7e38
commit 8a11d94707
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ function editListInit() {
const filterInputInit = function() {
const $filter = $("#filter-input");
if ($filter.length) {
if ($filter.length && $editList.find(".list-group-item").length) {
// empty the filter
$filter.val("");