From b84fc8b580a7dbb00d2ec4bd463966e546b9b47f Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Tue, 7 May 2024 10:56:18 -0300
Subject: fix #8781: min cashout ui

---
 packages/bank-ui/src/pages/RegistrationPage.tsx | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

(limited to 'packages/bank-ui/src/pages/RegistrationPage.tsx')

diff --git a/packages/bank-ui/src/pages/RegistrationPage.tsx b/packages/bank-ui/src/pages/RegistrationPage.tsx
index 5dd19a63f..897a02efa 100644
--- a/packages/bank-ui/src/pages/RegistrationPage.tsx
+++ b/packages/bank-ui/src/pages/RegistrationPage.tsx
@@ -13,10 +13,7 @@
  You should have received a copy of the GNU General Public License along with
  GNU Taler; see the file COPYING.  If not, see <http://www.gnu.org/licenses/>
  */
-import {
-  HttpStatusCode,
-  TalerErrorCode
-} from "@gnu-taler/taler-util";
+import { HttpStatusCode, TalerErrorCode } from "@gnu-taler/taler-util";
 import {
   LocalNotificationBanner,
   RouteDefinition,
@@ -143,6 +140,8 @@ function RegistrationForm({
               return i18n.str`Authentication channel is not supported.`;
             case TalerErrorCode.BANK_NON_ADMIN_PATCH_DEBT_LIMIT:
               return i18n.str`Only admin is allow to set debt limit.`;
+            case TalerErrorCode.BANK_NON_ADMIN_SET_MIN_CASHOUT:
+              return i18n.str`Only the administrator can change the minimun cashout limit.`;
             case TalerErrorCode.BANK_NON_ADMIN_SET_TAN_CHANNEL:
               return i18n.str`Only admin can create accounts with second factor authentication.`;
           }
-- 
cgit v1.2.3

