taler-typescript-core

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

commit 7b3157df9746d12f712e6a4604eccc8ed6b7d0c3
parent 8d1ce9dae1fd94204c142ac599b498bec9680b6c
Author: Christian Blättler <blatc2@bfh.ch>
Date:   Tue,  7 May 2024 18:11:47 +0200

remove routes that accidentally landed in the auditor backoffice ui

Diffstat:
Mpackages/auditor-backoffice-ui/src/InstanceRoutes.tsx | 47-----------------------------------------------
1 file changed, 0 insertions(+), 47 deletions(-)

diff --git a/packages/auditor-backoffice-ui/src/InstanceRoutes.tsx b/packages/auditor-backoffice-ui/src/InstanceRoutes.tsx @@ -69,10 +69,6 @@ import ValidatorCreatePage from "./paths/instance/otp_devices/create/index.js"; import ValidatorListPage from "./paths/instance/otp_devices/list/index.js"; import ValidatorUpdatePage from "./paths/instance/otp_devices/update/index.js"; -import TokenFamilyCreatePage from "./paths/instance/tokenfamilies/create/index.js"; -import TokenFamilyListPage from "./paths/instance/tokenfamilies/list/index.js"; -import TokenFamilyUpdatePage from "./paths/instance/tokenfamilies/update/index.js"; - import TransferCreatePage from "./paths/instance/transfers/create/index.js"; import TransferListPage from "./paths/instance/transfers/list/index.js"; import InstanceUpdatePage, { @@ -99,10 +95,6 @@ export enum InstancePaths { deposit_confirmation_update = "/deposit-confirmation/:pid/update", deposit_confirmation_new = "/deposit-confirmation/new", - token_family_list = "/tokenfamilies", - token_family_update = "/tokenfamilies/:slug/update", - token_family_new = "/tokenfamilies/new", - interface = "/interface", } @@ -438,45 +430,6 @@ export function InstanceRoutes({ route(InstancePaths.transfers_list); }} /> - {/* * - * Token family pages - */} - <Route - path={InstancePaths.token_family_list} - component={TokenFamilyListPage} - onUnauthorized={LoginPageAccessDenied} - onLoadError={ServerErrorRedirectTo(InstancePaths.settings)} - onCreate={() => { - route(InstancePaths.token_family_new); - }} - onSelect={(slug: string) => { - route(InstancePaths.token_family_update.replace(":slug", slug)); - }} - onNotFound={IfAdminCreateDefaultOr(NotFoundPage)} - /> - <Route - path={InstancePaths.token_family_update} - component={TokenFamilyUpdatePage} - onUnauthorized={LoginPageAccessDenied} - onLoadError={ServerErrorRedirectTo(InstancePaths.token_family_list)} - onConfirm={() => { - route(InstancePaths.token_family_list); - }} - onBack={() => { - route(InstancePaths.token_family_list); - }} - onNotFound={IfAdminCreateDefaultOr(NotFoundPage)} - /> - <Route - path={InstancePaths.token_family_new} - component={TokenFamilyCreatePage} - onConfirm={() => { - route(InstancePaths.token_family_list); - }} - onBack={() => { - route(InstancePaths.token_family_list); - }} - /> {/** * Webhooks pages */}