taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 88f5122f0c6c7bce306ca8dd409d9d6e794fdbc1
parent 5d92b7aaa666f8cd9c76ad8a6a46566eed5ab79a
Author: Sebastian <sebasjm@gmail.com>
Date:   Mon,  7 Apr 2025 14:46:28 -0300

fix #9531

Diffstat:
Mpackages/merchant-backoffice-ui/src/components/menu/SideBar.tsx | 30+++++++++++++++---------------
Mpackages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx | 2+-
Mpackages/merchant-backoffice-ui/src/paths/instance/templates/update/UpdatePage.tsx | 2+-
3 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx b/packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx @@ -95,7 +95,7 @@ export function Sidebar({ mobile }: Props): VNode { <Fragment> <ul class="menu-list"> <li> - <a href={"/orders"} class="has-icon"> + <a href={"#/orders"} class="has-icon"> <span class="icon"> <i class="mdi mdi-cash-register" /> </span> @@ -105,7 +105,7 @@ export function Sidebar({ mobile }: Props): VNode { </a> </li> <li> - <a href={"/inventory"} class="has-icon"> + <a href={"#/inventory"} class="has-icon"> <span class="icon"> <i class="mdi mdi-shopping" /> </span> @@ -115,7 +115,7 @@ export function Sidebar({ mobile }: Props): VNode { </a> </li> <li> - <a href={"/category"} class="has-icon"> + <a href={"#/category"} class="has-icon"> <span class="icon"> <i class="mdi mdi-label-outline" /> </span> @@ -125,7 +125,7 @@ export function Sidebar({ mobile }: Props): VNode { </a> </li> <li> - <a href={"/transfers"} class="has-icon"> + <a href={"#/transfers"} class="has-icon"> <span class="icon"> <i class="mdi mdi-arrow-left-right" /> </span> @@ -135,7 +135,7 @@ export function Sidebar({ mobile }: Props): VNode { </a> </li> <li> - <a href={"/templates"} class="has-icon"> + <a href={"#/templates"} class="has-icon"> <span class="icon"> <i class="mdi mdi-qrcode" /> </span> @@ -146,7 +146,7 @@ export function Sidebar({ mobile }: Props): VNode { </li> {pref.developerMode ? ( <li> - <a href={"/tokenfamilies"} class="has-icon"> + <a href={"#/tokenfamilies"} class="has-icon"> <span class="icon"> <i class="mdi mdi-key" /> </span> @@ -171,7 +171,7 @@ export function Sidebar({ mobile }: Props): VNode { } > <a - href={"/kyc"} + href={"#/kyc"} class="has-icon" style={ simplifiedKycStatus === @@ -207,7 +207,7 @@ export function Sidebar({ mobile }: Props): VNode { </p> <ul class="menu-list"> <li> - <a href={"/bank"} class="has-icon"> + <a href={"#/bank"} class="has-icon"> <span class="icon"> <i class="mdi mdi-bank" /> </span> @@ -217,7 +217,7 @@ export function Sidebar({ mobile }: Props): VNode { </a> </li> <li> - <a href={"/otp-devices"} class="has-icon"> + <a href={"#/otp-devices"} class="has-icon"> <span class="icon"> <i class="mdi mdi-lock" /> </span> @@ -227,7 +227,7 @@ export function Sidebar({ mobile }: Props): VNode { </a> </li> <li> - <a href={"/webhooks"} class="has-icon"> + <a href={"#/webhooks"} class="has-icon"> <span class="icon"> <i class="mdi mdi-webhook" /> </span> @@ -237,7 +237,7 @@ export function Sidebar({ mobile }: Props): VNode { </a> </li> <li> - <a href={"/settings"} class="has-icon"> + <a href={"#/settings"} class="has-icon"> <span class="icon"> <i class="mdi mdi-square-edit-outline" /> </span> @@ -247,7 +247,7 @@ export function Sidebar({ mobile }: Props): VNode { </a> </li> <li> - <a href={"/token"} class="has-icon"> + <a href={"#/token"} class="has-icon"> <span class="icon"> <i class="mdi mdi-security" /> </span> @@ -264,7 +264,7 @@ export function Sidebar({ mobile }: Props): VNode { </p> <ul class="menu-list"> <li> - <a class="has-icon is-state-info is-hoverable" href="/interface"> + <a class="has-icon is-state-info is-hoverable" href="#/interface"> <span class="icon"> <i class="mdi mdi-newspaper" /> </span> @@ -295,7 +295,7 @@ export function Sidebar({ mobile }: Props): VNode { <i18n.Translate>Instances</i18n.Translate> </p> <li> - <a href={"/instance/new"} class="has-icon"> + <a href={"#/instance/new"} class="has-icon"> <span class="icon"> <i class="mdi mdi-plus" /> </span> @@ -305,7 +305,7 @@ export function Sidebar({ mobile }: Props): VNode { </a> </li> <li> - <a href={"/instances"} class="has-icon"> + <a href={"#/instances"} class="has-icon"> <span class="icon"> <i class="mdi mdi-format-list-bulleted" /> </span> diff --git a/packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx @@ -255,7 +255,7 @@ export function CreatePage({ onCreate, onBack }: Props): VNode { tooltip={i18n.str`Use to verify transactions in offline mode.`} > <i18n.Translate>No OTP device.</i18n.Translate>&nbsp; - <a href="/otp-devices/new"> + <a href="#/otp-devices/new"> <i18n.Translate>Add one first</i18n.Translate> </a> </TextField> diff --git a/packages/merchant-backoffice-ui/src/paths/instance/templates/update/UpdatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/templates/update/UpdatePage.tsx @@ -269,7 +269,7 @@ export function UpdatePage({ template, onUpdate, onBack }: Props): VNode { tooltip={i18n.str`Use to verify transactions in offline mode.`} > <i18n.Translate>No OTP device.</i18n.Translate>&nbsp; - <a href="/otp-devices/new"> + <a href="#/otp-devices/new"> <i18n.Translate>Add one first</i18n.Translate> </a> </TextField>