[SSE] Fix bug 58700

This commit is contained in:
JuliaSvinareva 2022-08-25 15:21:09 +03:00
parent 2e04d92d0b
commit 1f708c1d2f

View file

@ -349,6 +349,9 @@ define([
me.resultItems.splice(ind, 1); me.resultItems.splice(ind, 1);
} }
}); });
if (this.resultItems.length === 0) {
this.removeResultItems();
}
}, },
onUpdateSearchCurrent: function (current, all) { onUpdateSearchCurrent: function (current, all) {