Skip to content
Merged
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
11 changes: 8 additions & 3 deletions app/next-client-app/app/(protected)/datasets/[id]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,14 @@ export default async function DatasetLayout({
<div>Project(s): </div>
<div className="flex space-x-1">
{projects.map((project) => (
<Badge variant="outline" key={project.id}>
{project.name}
</Badge>
<Link key={project.id} href={`/projects/${project.id}`}>
<Badge
variant="outline"
className="cursor-pointer hover:bg-accent hover:text-accent-foreground transition-colors"
>
{project.name}
</Badge>
</Link>
))}
</div>
</h3>
Expand Down
Loading