mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 02:33:01 +00:00
join owners with ProjectsByOwnerID
This commit is contained in:
@@ -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 && (
|
||||
|
||||
Reference in New Issue
Block a user