Merge pull request #2004 from ONLYOFFICE/fix/fix-search

[SSE] Fix search
This commit is contained in:
Julia Radzhabova 2022-10-12 18:44:23 +03:00 committed by GitHub
commit 677b629c66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -367,6 +367,7 @@ define([
},
onApiRemoveTextAroundSearch: function (arr) {
if (!this.resultItems) return;
var me = this;
arr.forEach(function (id) {
var ind = _.findIndex(me.resultItems, {id: id});