diff --git a/helm-charts/opentaco/Chart.yaml b/helm-charts/opentaco/Chart.yaml index 951dc6d94..2e5a7d228 100644 --- a/helm-charts/opentaco/Chart.yaml +++ b/helm-charts/opentaco/Chart.yaml @@ -57,7 +57,7 @@ dependencies: # Taco UI - React frontend - name: taco-ui - version: "0.1.0" + version: "0.1.1" repository: "oci://ghcr.io/diggerhq/helm-charts" condition: taco-ui.enabled tags: diff --git a/helm-charts/taco-ui/Chart.yaml b/helm-charts/taco-ui/Chart.yaml index 32c91be6a..9aec63119 100644 --- a/helm-charts/taco-ui/Chart.yaml +++ b/helm-charts/taco-ui/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: taco-ui description: Taco UI - Web-based frontend for OpenTaco infrastructure management platform type: application -version: 0.1.0 -appVersion: "v0.1.0" +version: 0.1.1 +appVersion: "v0.1.1" icon: https://raw.githubusercontent.com/diggerhq/digger/main/docs/logo/digger-logo.png diff --git a/ui/src/router.tsx b/ui/src/router.tsx index e55d049a0..efeb7c3c9 100644 --- a/ui/src/router.tsx +++ b/ui/src/router.tsx @@ -1,6 +1,6 @@ import { createRouter } from '@tanstack/react-router'; import { routeTree } from './routeTree.gen'; -import { terraformRoute } from '@/routes/manual/terraformWellknown'; +import { terraformRoute } from '@/routes/manual/terraformWellKnown'; const existingChildren = (routeTree as any).children ?? [] // internal but fine diff --git a/ui/src/routes/__root.tsx b/ui/src/routes/__root.tsx index b775c8576..6d3638e92 100644 --- a/ui/src/routes/__root.tsx +++ b/ui/src/routes/__root.tsx @@ -11,7 +11,7 @@ import { Sidebar, SidebarMenuButton, SidebarGroupContent, SidebarGroupLabel, Sid import { GitBranch, Folders, Waves, Settings, CreditCard, LogOut } from 'lucide-react'; import globalCssUrl from '@/styles/global.css?url' import { Toaster } from '@/components/ui/toaster'; -import { getPublicServerConfig } from '@/lib/env.server'; +import { getPublicServerConfig, type Env } from '@/lib/env.server'; diff --git a/ui/src/routes/_authenticated/_dashboard/dashboard/settings.tsx b/ui/src/routes/_authenticated/_dashboard/dashboard/settings.tsx index 4bc6081cd..2bd04515a 100644 --- a/ui/src/routes/_authenticated/_dashboard/dashboard/settings.tsx +++ b/ui/src/routes/_authenticated/_dashboard/dashboard/settings.tsx @@ -9,15 +9,14 @@ export const Route = createFileRoute( const { user, organisationId, role } = context return { user, organisationId, role } }, - beforeLoad: ({ location, search }) => { + beforeLoad: (({ location, search }) => { if (location.pathname === '/dashboard/settings') { throw redirect({ to: '.', search }) } - return {} - } + }) as any }) function RouteComponent() { diff --git a/ui/src/routes/app/settings.tokens.tsx b/ui/src/routes/app/settings.tokens.tsx index 233072984..f1643f777 100644 --- a/ui/src/routes/app/settings.tokens.tsx +++ b/ui/src/routes/app/settings.tokens.tsx @@ -4,7 +4,7 @@ export const Route = createFileRoute('/app/settings/tokens')({ server: { handlers: { GET: async ({ request }) => { - return new redirect({ to: '/dashboard/settings/tokens' }) + return redirect({ to: '/dashboard/settings/tokens' }) } } }