@tap-payments/auth-jsconnect 2.12.1 → 2.12.2
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/app/settings.js +2 -1
- package/package.json +1 -1
package/build/app/settings.js
CHANGED
|
@@ -373,7 +373,8 @@ export var settingsSlice = createSlice({
|
|
|
373
373
|
builder.addCase(fetchAppSettingsSync.fulfilled, function (state, action) {
|
|
374
374
|
var _a = action.payload, businessCountry = _a.businessCountry, countries = _a.countries, locale = _a.locale, deviceInfo = _a.deviceInfo, isValidOperator = _a.isValidOperator, merchant = _a.merchant, isMaturityExpress = _a.isMaturityExpress, ipCountry = _a.ipCountry;
|
|
375
375
|
state.data.countries = countries;
|
|
376
|
-
|
|
376
|
+
if (businessCountry === null || businessCountry === void 0 ? void 0 : businessCountry.iso2)
|
|
377
|
+
state.data.businessCountry = businessCountry;
|
|
377
378
|
state.data.ipCountry = ipCountry;
|
|
378
379
|
state.data.locale = locale;
|
|
379
380
|
state.data.deviceInfo = deviceInfo;
|