From cef4cef291aeeec4e03b2cdb67c15e23cb5ba5ae Mon Sep 17 00:00:00 2001 From: nikita_bartoshuk Date: Mon, 6 Oct 2025 23:56:56 +0300 Subject: [PATCH] Fix bug 77309 --- apps/common/main/lib/view/SearchBar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/main/lib/view/SearchBar.js b/apps/common/main/lib/view/SearchBar.js index 09f8e6b069..f40041b716 100644 --- a/apps/common/main/lib/view/SearchBar.js +++ b/apps/common/main/lib/view/SearchBar.js @@ -169,7 +169,7 @@ define([ this.updateResultsNumber(resultNumber, allResults); }, this)); - this.btnOpenPanelRedact.setVisible(this.mode === 'edit') + this.btnOpenPanelRedact && this.btnOpenPanelRedact.setVisible(this.mode === 'edit') return this; },