From 738fb7d7867516d6cfdb49727c76227521169538 Mon Sep 17 00:00:00 2001 From: Artem_Blazhko Date: Fri, 19 Apr 2024 16:14:30 +0300 Subject: [PATCH] Fix "Total paid amount" value that set as "$NaN" --- CHANGELOG.md | 1 + src/components/Accounts/Actions/ActionModal.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6237223da..73c45bffb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ * Fix incorrect translation key having count-disagreements in Pay fees/fines modal in Fees/Fines Page. Refs UIU-1097. * Trim input values and delete properties with empty string when user record save. Refs UIU-2049. * Update username field validation to trim leading and trailing spaces. Refs UIU-3099. +* Fix "Total paid amount" value that set as "$NaN" on "Refund fee/fine" modal. Refs UIU-3094. ## [10.1.0](https://github.com/folio-org/ui-users/tree/v10.1.0) (2024-03-20) [Full Changelog](https://github.com/folio-org/ui-users/compare/v10.0.4...v10.1.0) diff --git a/src/components/Accounts/Actions/ActionModal.js b/src/components/Accounts/Actions/ActionModal.js index ba514b11b..3fc31a9f3 100644 --- a/src/components/Accounts/Actions/ActionModal.js +++ b/src/components/Accounts/Actions/ActionModal.js @@ -380,7 +380,7 @@ class ActionModal extends React.Component { : - {localizeCurrencyAmount(totalPaidAmount, stripes.currency, intl)} + {totalPaidAmount} ) : (