From 62d3a9c4f4eb08c54010e95f362076c2cc3cd5e5 Mon Sep 17 00:00:00 2001 From: Shishant Biswas Date: Tue, 22 Sep 2026 21:47:15 +0530 Subject: [PATCH] fix: data/schema toggle link in `/data` path to include `adminBasePath` --- app/src/ui/lib/routes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/ui/lib/routes.ts b/app/src/ui/lib/routes.ts index 46ed4fbe..a2b5bcc6 100644 --- a/app/src/ui/lib/routes.ts +++ b/app/src/ui/lib/routes.ts @@ -101,7 +101,7 @@ export function useNavigate() { } } - const _url = options?.absolute ? `~/${basepath}${url}`.replace(/\/+/g, "/") : url; + const _url = options?.absolute ? `~/${app.options.basepath}/${app.options.admin_basepath}${url}`.replace(/\/+/g, "/") : url; const state = { ...options?.state, referrer: location,