diff --git a/src/client/Deploy.jsx b/src/client/Deploy.jsx
index 333f62c..86504db 100644
--- a/src/client/Deploy.jsx
+++ b/src/client/Deploy.jsx
@@ -1,3 +1,4 @@
+import { normalizeURL } from '@/lib/utils'
import { Value } from './Inspect.jsx'
// const GitRef = ({ type, value }) => {
@@ -17,15 +18,30 @@ import { Value } from './Inspect.jsx'
//
{logLines.join('\n')}
)
diff --git a/src/client/JobsPage.jsx b/src/client/JobsPage.jsx
index ec1b0a8..9b27a82 100644
--- a/src/client/JobsPage.jsx
+++ b/src/client/JobsPage.jsx
@@ -42,12 +42,14 @@ export const JobsPage = ({}) => {
const res = await fetch(location.href + '?format=json')
const jobs = await res.json()
- const result = {}
+ // const result = {}
- for (const item of jobs) {
- result[item.uuid] = item
- }
+ // for (const item of jobs) {
+ // result[item.uuid] = item
+ // }
+ const result = _.keyBy(jobs, 'uuid')
+ console.log(result)
setJobStore(result)
// Setup SSE
diff --git a/src/components/Sidebar.astro b/src/components/Sidebar.astro
index 9a92f06..db3f2bf 100644
--- a/src/components/Sidebar.astro
+++ b/src/components/Sidebar.astro
@@ -1,13 +1,16 @@