Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
477e5fcdc3
commit
5489371d45
@@ -139,7 +139,7 @@ function ClassesTab() {
|
||||
<div key={c.id} className="p-3 flex justify-between items-center">
|
||||
<div>
|
||||
<div className="font-medium">{c.name}</div>
|
||||
<div className="text-xs text-muted-foreground">Teacher: {(c.profiles as { full_name?: string } | null)?.full_name ?? "unassigned"}</div>
|
||||
<div className="text-xs text-muted-foreground">Teacher: {c.teacher_name ?? "unassigned"}</div>
|
||||
</div>
|
||||
<Button size="icon" variant="ghost" onClick={() => del.mutate(c.id)}><Trash2 className="h-4 w-4" /></Button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user