Skip to content

Commit 3ade12f

Browse files
committed
MAGE-773 Remove hard coded separator
1 parent 3476bde commit 3ade12f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

view/frontend/web/internals/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ define(['jquery', 'algoliaBundle'], function ($, algoliaBundle) {
405405
if (algoliaConfig.isLandingPage &&
406406
typeof uiStateProductIndex['hierarchicalMenu']['categories.level0'] === 'undefined' &&
407407
'categories.level0' in landingPageConfig) {
408-
uiStateProductIndex['hierarchicalMenu']['categories.level0'] = landingPageConfig['categories.level0'].split(' /// ');
408+
uiStateProductIndex['hierarchicalMenu']['categories.level0'] = landingPageConfig['categories.level0'].split(algoliaConfig.instant.categorySeparator);
409409
}
410410
}
411411
if (currentFacet.attribute == 'categories' && algoliaConfig.isCategoryPage) {

0 commit comments

Comments
 (0)