[SSE] Fix search in mail merge mode

This commit is contained in:
JuliaSvinareva 2022-06-10 17:36:11 +03:00
parent 2e43d25387
commit a7944cfa79

View file

@ -1317,7 +1317,11 @@ define([
},
searchShow: function () {
if (this.toolbar.btnSearch && this.searchBar && !this.searchBar.isVisible()) {
if (this.toolbar.btnSearch) {
if (this.searchBar && this.searchBar.isVisible()) {
this.searchBar.focus();
return;
}
this.toolbar.btnSearch.toggle(true);
}
},