File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -40,13 +40,11 @@ public function execute(\Magento\Framework\Event\Observer $observer)
40
40
if ($ actionName === 'swagger_index_index ' ) {
41
41
return $ this ;
42
42
}
43
-
44
43
if ($ this ->config ->isEnabledFrontEnd ()) {
45
44
if ($ this ->config ->getApplicationID () && $ this ->config ->getAPIKey ()) {
46
45
if ($ this ->config ->isAutoCompleteEnabled () || $ this ->config ->isInstantEnabled ()) {
47
46
/** @var Layout $layout */
48
47
$ layout = $ observer ->getData ('layout ' );
49
-
50
48
$ layout ->getUpdate ()->addHandle ('algolia_search_handle ' );
51
49
52
50
if ($ this ->config ->isDefaultSelector ()) {
@@ -86,4 +84,4 @@ private function loadPreventBackendRenderingHandle(Layout $layout)
86
84
87
85
$ layout ->getUpdate ()->addHandle ('algolia_search_handle_prevent_backend_rendering ' );
88
86
}
89
- }
87
+ }
You can’t perform that action at this time.
0 commit comments