Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion helm-charts/opentaco/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions helm-charts/taco-ui/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 changes: 1 addition & 1 deletion ui/src/router.tsx
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion ui/src/routes/__root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/routes/app/settings.tokens.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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' })
}
}
}
Expand Down
Loading