join owners with ProjectsByOwnerID

This commit is contained in:
Oliver Bryan
2025-12-22 07:01:22 +00:00
parent 7cb9dc7217
commit 03e0874c2c
2 changed files with 8 additions and 4 deletions

View File

@@ -60,7 +60,6 @@ function Index() {
}
const project = projects.find((p) => p.Project.id === Number(value));
if (!project) {
// TODO: toast here
console.error(`NO PROJECT FOUND FOR ID: ${value}`);
return;
}
@@ -81,6 +80,7 @@ function Index() {
{project.Project.name}
</SelectItem>
))}
{/* {projects.length === 0 && <>No projects</>} */}
</SelectContent>
</Select>
{selectedProject && (