@ikas/storefront 0.0.161-alpha.4 → 0.0.161-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.es.js +1 -1
- package/build/index.js +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -37920,7 +37920,7 @@ var SettingsHelper = /** @class */ (function () {
|
|
|
37920
37920
|
id: storefront.salesChannelId,
|
|
37921
37921
|
}),
|
|
37922
37922
|
routing: storefront.routings.length
|
|
37923
|
-
? storefront.routings.find(function (r) { return r.locale === locale; }) || //storefront.routings.find((r) => !r.path && !r.domain) ||
|
|
37923
|
+
? storefront.routings.find(function (r) { return r.locale === locale || r.id === locale; }) || //storefront.routings.find((r) => !r.path && !r.domain) ||
|
|
37924
37924
|
storefront.routings[0]
|
|
37925
37925
|
: new IkasStorefrontRouting({}),
|
|
37926
37926
|
favicon: localTheme.settings.favicon,
|
package/build/index.js
CHANGED
|
@@ -37897,7 +37897,7 @@ var SettingsHelper = /** @class */ (function () {
|
|
|
37897
37897
|
id: storefront.salesChannelId,
|
|
37898
37898
|
}),
|
|
37899
37899
|
routing: storefront.routings.length
|
|
37900
|
-
? storefront.routings.find(function (r) { return r.locale === locale; }) || //storefront.routings.find((r) => !r.path && !r.domain) ||
|
|
37900
|
+
? storefront.routings.find(function (r) { return r.locale === locale || r.id === locale; }) || //storefront.routings.find((r) => !r.path && !r.domain) ||
|
|
37901
37901
|
storefront.routings[0]
|
|
37902
37902
|
: new IkasStorefrontRouting({}),
|
|
37903
37903
|
favicon: localTheme.settings.favicon,
|