aboutsummaryrefslogtreecommitdiff
path: root/packages/aml-backoffice-ui/src
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2024-03-07 09:34:06 -0300
committerSebastian <sebasjm@gmail.com>2024-03-07 09:34:28 -0300
commit2b76e32d5714fc410085b5a5ab5c1f4333190fe6 (patch)
treef890abb9b01c240561d29d489b345b0350b60e7a /packages/aml-backoffice-ui/src
parentb059cf4b16663ef2db70a2c2d7af0a6ba5ce2688 (diff)
downloadwallet-core-2b76e32d5714fc410085b5a5ab5c1f4333190fe6.tar.xz
time component
Diffstat (limited to 'packages/aml-backoffice-ui/src')
-rw-r--r--packages/aml-backoffice-ui/src/Dashboard.tsx8
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/aml-backoffice-ui/src/Dashboard.tsx b/packages/aml-backoffice-ui/src/Dashboard.tsx
index 0fcea3ee9..3951b48c7 100644
--- a/packages/aml-backoffice-ui/src/Dashboard.tsx
+++ b/packages/aml-backoffice-ui/src/Dashboard.tsx
@@ -1,5 +1,5 @@
import { TranslatedString } from "@gnu-taler/taler-util";
-import { Footer, GlobalNotificationsBanner, Header, notifyError, notifyException, useTranslationContext } from "@gnu-taler/web-util/browser";
+import { Footer, ToastBanner, Header, notifyError, notifyException, useTranslationContext } from "@gnu-taler/web-util/browser";
import { ComponentChildren, Fragment, VNode, h } from "preact";
import { useEffect, useErrorBoundary } from "preact/hooks";
import { useOfficer } from "./hooks/useOfficer.js";
@@ -151,7 +151,11 @@ export function ExchangeAmlFrame({
</Header>
</div>
- <GlobalNotificationsBanner />
+ <div class="fixed z-20 w-full">
+ <div class="mx-auto w-4/5">
+ <ToastBanner />
+ </div>
+ </div>
<div class="-mt-32 flex grow ">
{officer.state !== "ready" ? undefined :