{parentSessionId ? (
// A sub-session row is reachable from the tree and by deep link;
// this is the way back up without opening the tree.
) : null}
{active && headDot ? (
) : null}
{active ? activeTitle?.text : (workspace?.name ?? t("nav.chat"))}
{active?.flags.attention && active.attention.length ? (
{t("chat.pending", { n: active.attention.length })}
) : null}
{active ? (
{t(`state.${sessionStatusKey(active)}`)}
) : null}
{active ? (
{
chipRefs.current[tab] = element;
}}
/>
) : null}
);
return (
<>