chore(frontend): update jobs page
This commit is contained in:
parent
052f5169c5
commit
b72c63f947
1 changed files with 3 additions and 3 deletions
|
|
@ -123,10 +123,10 @@ export default function AdminJobsPage() {
|
|||
console.log("[DEBUG] First company keys:", Object.keys(companies[0]))
|
||||
}
|
||||
const opts = companies
|
||||
.filter((c) => c && (c.id || c.ID))
|
||||
.filter((c) => c && c.id)
|
||||
.map((c) => ({
|
||||
id: c.id || (c as unknown as { ID?: string }).ID,
|
||||
name: c.name || (c as unknown as { Name?: string }).Name || "Unknown"
|
||||
id: c.id,
|
||||
name: c.name || "Unknown"
|
||||
}))
|
||||
console.log("[DEBUG] Company options mapped:", opts)
|
||||
return opts
|
||||
|
|
|
|||
Loading…
Reference in a new issue