fix: tolerate missing migration unsupported state

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
brennanb2025
2026-05-15 12:54:53 -07:00
co-authored by Orca
parent 83ccf1828e
commit 44879e8add
@@ -46,7 +46,7 @@ export function useWorktreeActivityStatus(worktreeId: string): WorktreeStatus {
live = true
}
}
for (const unsupported of Object.values(s.migrationUnsupportedByPtyId)) {
for (const unsupported of Object.values(s.migrationUnsupportedByPtyId ?? {})) {
const entry = migrationUnsupportedToAgentStatusEntry(unsupported)
if (!entry) {
continue