fix: convert selectedTrack.name to string in Effect Chain header

Fixed [object Object] display in Effect Chain section of SidePanel
by adding String() conversion to selectedTrack.name.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-17 22:46:28 +01:00
parent 53d436a174
commit 7c19c069bf
2 changed files with 18 additions and 1 deletions

View File

@@ -300,7 +300,7 @@ export function SidePanel({
<h3 className="text-xs font-semibold text-muted-foreground uppercase">
Effect Chain
{selectedTrack && (
<span className="text-primary ml-2">({selectedTrack.name})</span>
<span className="text-primary ml-2">({String(selectedTrack.name || 'Untitled Track')})</span>
)}
</h3>
<div className="flex gap-1">