diff options
author | Sebastian <sebasjm@gmail.com> | 2024-05-07 10:56:18 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-05-07 10:56:18 -0300 |
commit | b84fc8b580a7dbb00d2ec4bd463966e546b9b47f (patch) | |
tree | 9ef7b8083b244e92dffcd8f03379a7b6cd7f6c7f /packages/bank-ui/src/pages/admin/CreateNewAccount.tsx | |
parent | c224e1998fa565f3d4440ec41dd3bbc76168ba80 (diff) | |
download | wallet-core-b84fc8b580a7dbb00d2ec4bd463966e546b9b47f.tar.xz |
fix #8781: min cashout ui
Diffstat (limited to 'packages/bank-ui/src/pages/admin/CreateNewAccount.tsx')
-rw-r--r-- | packages/bank-ui/src/pages/admin/CreateNewAccount.tsx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/bank-ui/src/pages/admin/CreateNewAccount.tsx b/packages/bank-ui/src/pages/admin/CreateNewAccount.tsx index 7d2d449b0..3898088ed 100644 --- a/packages/bank-ui/src/pages/admin/CreateNewAccount.tsx +++ b/packages/bank-ui/src/pages/admin/CreateNewAccount.tsx @@ -146,6 +146,15 @@ export function CreateNewAccount({ debug: resp.detail, when: AbsoluteTime.now(), }); + case TalerErrorCode.BANK_NON_ADMIN_SET_MIN_CASHOUT: { + return notify({ + type: "error", + title: i18n.str`Only the administrator can change the minimun cashout limit.`, + description: resp.detail.hint as TranslatedString, + debug: resp.detail, + when: AbsoluteTime.now(), + }); + } default: assertUnreachable(resp); } |