tg-core-components 6.1.12-ub-51.0 → 6.1.13-reset-limits.0
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/es/widgets/CashierAccordion/Payment/PaymentAccountForms/index.js +1 -1
- package/es/widgets/ResponsibleGamingWidget/Timespan.js +2 -2
- package/lib/widgets/CashierAccordion/Payment/PaymentAccountForms/index.js +1 -1
- package/lib/widgets/ResponsibleGamingWidget/Timespan.js +2 -2
- package/package.json +2 -2
|
@@ -261,7 +261,7 @@ var Banklocal = function Banklocal(_ref6) {
|
|
|
261
261
|
return change('accountNumber', accountNumber);
|
|
262
262
|
},
|
|
263
263
|
name: 'accountNumber',
|
|
264
|
-
label: translate({ id: 'cashier.details.
|
|
264
|
+
label: translate({ id: 'cashier.details.iban' }, intl),
|
|
265
265
|
disabled: account.accountId
|
|
266
266
|
})
|
|
267
267
|
);
|
|
@@ -251,7 +251,7 @@ var DefaultTimespan = function DefaultTimespan(_ref10) {
|
|
|
251
251
|
setValue = _useState2[1];
|
|
252
252
|
|
|
253
253
|
useEffect(function () {
|
|
254
|
-
if (newLimit
|
|
254
|
+
if (newLimit) {
|
|
255
255
|
setValue(newLimit.Amount);
|
|
256
256
|
}
|
|
257
257
|
}, [newLimit]);
|
|
@@ -282,7 +282,7 @@ var DefaultTimespan = function DefaultTimespan(_ref10) {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
// If not blocked from removing limit or 'No limit' option is selected -> add 'No limit' option
|
|
285
|
-
if (!validationState['limit-remove-blocked'] || value === 0) {
|
|
285
|
+
if (!validationState['limit-remove-blocked'] || value === 0 || value === '') {
|
|
286
286
|
options.unshift({
|
|
287
287
|
value: 0,
|
|
288
288
|
label: messages.get('label.responsible-gaming.option.no-limit')
|
|
@@ -304,7 +304,7 @@ var Banklocal = function Banklocal(_ref6) {
|
|
|
304
304
|
return change('accountNumber', accountNumber);
|
|
305
305
|
},
|
|
306
306
|
name: 'accountNumber',
|
|
307
|
-
label: (0, _translate2.default)({ id: 'cashier.details.
|
|
307
|
+
label: (0, _translate2.default)({ id: 'cashier.details.iban' }, intl),
|
|
308
308
|
disabled: account.accountId
|
|
309
309
|
})
|
|
310
310
|
);
|
|
@@ -282,7 +282,7 @@ var DefaultTimespan = function DefaultTimespan(_ref10) {
|
|
|
282
282
|
setValue = _useState2[1];
|
|
283
283
|
|
|
284
284
|
(0, _react.useEffect)(function () {
|
|
285
|
-
if (newLimit
|
|
285
|
+
if (newLimit) {
|
|
286
286
|
setValue(newLimit.Amount);
|
|
287
287
|
}
|
|
288
288
|
}, [newLimit]);
|
|
@@ -313,7 +313,7 @@ var DefaultTimespan = function DefaultTimespan(_ref10) {
|
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
315
|
// If not blocked from removing limit or 'No limit' option is selected -> add 'No limit' option
|
|
316
|
-
if (!validationState['limit-remove-blocked'] || value === 0) {
|
|
316
|
+
if (!validationState['limit-remove-blocked'] || value === 0 || value === '') {
|
|
317
317
|
options.unshift({
|
|
318
318
|
value: 0,
|
|
319
319
|
label: messages.get('label.responsible-gaming.option.no-limit')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tg-core-components",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.13-reset-limits.0",
|
|
4
4
|
"description": "tg-core-components",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"webpack": "^3.0.0",
|
|
77
77
|
"webpack-blocks": "^1.0.0"
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "b0a0f9b54b8d5301db8f872ad5b7aa7efefb6cc2"
|
|
80
80
|
}
|