tg-core-components 6.3.4-2.5 → 6.3.4-2.6
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.
|
@@ -359,7 +359,7 @@ var DefaultTimespan = function DefaultTimespan(_ref10) {
|
|
|
359
359
|
},
|
|
360
360
|
autoFocus: !isIphone,
|
|
361
361
|
min: validationState['limit-remove-blocked'] ? '1' : '0',
|
|
362
|
-
max: validationState['limit-increase-blocked'] ? getByPath(currentLimit, 'Amount') :
|
|
362
|
+
max: validationState['limit-increase-blocked'] ? getByPath(currentLimit, 'Amount') : getByPath(currentLimit, 'MaxAmount')
|
|
363
363
|
}),
|
|
364
364
|
React.createElement(
|
|
365
365
|
Button,
|
|
@@ -390,7 +390,7 @@ var DefaultTimespan = function DefaultTimespan(_ref10) {
|
|
|
390
390
|
},
|
|
391
391
|
autoFocus: !isIphone,
|
|
392
392
|
min: validationState['limit-remove-blocked'] ? '1' : '0',
|
|
393
|
-
max: validationState['limit-increase-blocked'] ? (0, _get2.default)(currentLimit, 'Amount') :
|
|
393
|
+
max: validationState['limit-increase-blocked'] ? (0, _get2.default)(currentLimit, 'Amount') : (0, _get2.default)(currentLimit, 'MaxAmount')
|
|
394
394
|
}),
|
|
395
395
|
_react2.default.createElement(
|
|
396
396
|
_Button2.default,
|