Skip to content

Commit 6d3c5c6

Browse files
authored
Merge pull request #7 from algolia/bugfix/MAGE-673
MAGE-673 Add missing components as variable for destructured argument.
2 parents 2290240 + e538b6d commit 6d3c5c6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"license": [
66
"MIT"
77
],
8-
"version": "1.2.1",
8+
"version": "1.2.2",
99
"require": {
1010
"algolia/algoliasearch-magento-2": "^3.9.1",
1111
"magento/magento-composer-installer": "*"

etc/module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
22
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
3-
<module name="Algolia_CustomAlgolia" setup_version="1.2.1">
3+
<module name="Algolia_CustomAlgolia" setup_version="1.2.2">
44
<sequence>
55
<module name="Algolia_AlgoliaSearch"/>
66
<module name="Magento_Theme"/>

view/frontend/web/hooks.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ define(['jquery', 'algoliaAnalytics', 'algoliaBundle', 'suggestionsHtml', 'algol
8888
header({html, items}) {
8989
return suggestionsHtml.getHeaderHtml({html});
9090
},
91-
item({item, html}) {
92-
return suggestionsHtml.getItemHtml({item, html})
91+
item({item, components, html}) {
92+
return suggestionsHtml.getItemHtml({item, components, html})
9393
},
9494
footer({html, items}) {
9595
return suggestionsHtml.getFooterHtml({html})

0 commit comments

Comments
 (0)