@ikas/storefront 0.0.105 → 0.0.106
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 +7 -1
- package/build/index.js +7 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -28555,7 +28555,13 @@ var SettingsHelper = /** @class */ (function () {
|
|
|
28555
28555
|
return __generator(this, function (_b) {
|
|
28556
28556
|
switch (_b.label) {
|
|
28557
28557
|
case 0:
|
|
28558
|
-
locale = context.locale
|
|
28558
|
+
locale = context.locale;
|
|
28559
|
+
if (!locale) {
|
|
28560
|
+
return [2 /*return*/, {
|
|
28561
|
+
props: {},
|
|
28562
|
+
notFound: true,
|
|
28563
|
+
}];
|
|
28564
|
+
}
|
|
28559
28565
|
return [4 /*yield*/, SettingsHelper.getSettings(locale)];
|
|
28560
28566
|
case 1:
|
|
28561
28567
|
settings = _b.sent();
|
package/build/index.js
CHANGED
|
@@ -28535,7 +28535,13 @@ var SettingsHelper = /** @class */ (function () {
|
|
|
28535
28535
|
return __generator(this, function (_b) {
|
|
28536
28536
|
switch (_b.label) {
|
|
28537
28537
|
case 0:
|
|
28538
|
-
locale = context.locale
|
|
28538
|
+
locale = context.locale;
|
|
28539
|
+
if (!locale) {
|
|
28540
|
+
return [2 /*return*/, {
|
|
28541
|
+
props: {},
|
|
28542
|
+
notFound: true,
|
|
28543
|
+
}];
|
|
28544
|
+
}
|
|
28539
28545
|
return [4 /*yield*/, SettingsHelper.getSettings(locale)];
|
|
28540
28546
|
case 1:
|
|
28541
28547
|
settings = _b.sent();
|