@depay/widgets 7.3.0 → 7.3.1
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/dist/esm/index.bundle.js +1 -1
- package/dist/esm/index.js +3 -1
- package/dist/umd/index.bundle.js +1 -1
- package/dist/umd/index.js +3 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -20749,7 +20749,9 @@ var Footer = (function () {
|
|
|
20749
20749
|
var mainAction = function mainAction() {
|
|
20750
20750
|
var displayedAmount;
|
|
20751
20751
|
|
|
20752
|
-
if (amount &&
|
|
20752
|
+
if (amount && configuredAmount && configuredAmount.currency && configuredAmount.fix) {
|
|
20753
|
+
displayedAmount = paymentValue.toString();
|
|
20754
|
+
} else if (amount && (configuredAmount == undefined || configuredAmount.token != true)) {
|
|
20753
20755
|
displayedAmount = new Currency({
|
|
20754
20756
|
amount: amount.toFixed(2),
|
|
20755
20757
|
code: currencyCode
|