tg-core-components 6.3.4-3.22 → 6.3.4-3.24

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.
@@ -113,10 +113,9 @@ var ResponsibleGaming = function ResponsibleGaming(_ref) {
113
113
  Product: product,
114
114
  Timespan: timespan,
115
115
  Amount: amount,
116
- MaxAmount: maxAmounts && currency ? getValues(maxAmounts, currency, timespan)[0] : Infinity,
116
+ MaxAmount: maxAmounts && maxAmounts[currency] ? getValues(maxAmounts, currency, timespan)[0] : Infinity,
117
117
  Status: 'NewLimit'
118
118
  };
119
- console.log(type);
120
119
  var limits = localLimits.filter(function (l) {
121
120
  return !(l.Type === newLimit.Type && l.Product === newLimit.Product && l.Timespan === newLimit.Timespan && l.Status === newLimit.Status);
122
121
  });
@@ -128,7 +127,6 @@ var ResponsibleGaming = function ResponsibleGaming(_ref) {
128
127
  return React.createElement(
129
128
  'div',
130
129
  { className: cn('ResponsibleGamingWidget', className) },
131
- console.log(normalizedLimits),
132
130
  React.createElement(
133
131
  AccordionWidget,
134
132
  {
@@ -156,10 +156,9 @@ var ResponsibleGaming = function ResponsibleGaming(_ref) {
156
156
  Product: product,
157
157
  Timespan: timespan,
158
158
  Amount: amount,
159
- MaxAmount: maxAmounts && currency ? (0, _helpers.getValues)(maxAmounts, currency, timespan)[0] : Infinity,
159
+ MaxAmount: maxAmounts && maxAmounts[currency] ? (0, _helpers.getValues)(maxAmounts, currency, timespan)[0] : Infinity,
160
160
  Status: 'NewLimit'
161
161
  };
162
- console.log(type);
163
162
  var limits = localLimits.filter(function (l) {
164
163
  return !(l.Type === newLimit.Type && l.Product === newLimit.Product && l.Timespan === newLimit.Timespan && l.Status === newLimit.Status);
165
164
  });
@@ -171,7 +170,6 @@ var ResponsibleGaming = function ResponsibleGaming(_ref) {
171
170
  return _react2.default.createElement(
172
171
  'div',
173
172
  { className: (0, _classnames2.default)('ResponsibleGamingWidget', className) },
174
- console.log(normalizedLimits),
175
173
  _react2.default.createElement(
176
174
  _AccordionWidget2.default,
177
175
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tg-core-components",
3
- "version": "6.3.4-3.22",
3
+ "version": "6.3.4-3.24",
4
4
  "description": "tg-core-components",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",