fix(HAI-002): handle undefined title and dependencies to prevent crashes

This commit is contained in:
Dustin Byrne
2026-03-25 19:58:19 -04:00
parent 8e7ba81d34
commit 3807b0ae0f
2 changed files with 3 additions and 3 deletions

View File

@@ -91,7 +91,7 @@ export function InlineCreateCard({ tasks, onSubmit, onCancel, addToast }: Inline
onClick={() => toggleDep(t.id)}
>
<span className="dep-dropdown-id">{t.id}</span>
<span className="dep-dropdown-title">{truncate(t.title, 30)}</span>
<span className="dep-dropdown-title">{truncate(t.title || t.description || t.id, 30)}</span>
</div>
))
)}