mirror of
https://github.com/stablyai/orca.git
synced 2026-10-04 08:02:09 +00:00
fix(native-chat): retire hosted rows on structured tab activation
This commit is contained in:
@@ -215,10 +215,14 @@ export function renderTabBarItems({
|
||||
tabCount={items.length}
|
||||
hasTabsToRight={index < items.length - 1}
|
||||
hasTabsToLeft={index > 0}
|
||||
isActive={activeTabType === 'agent-session' && item.id === activeTabId}
|
||||
isActive={
|
||||
!clientHostedRowOwnsActiveState &&
|
||||
activeTabType === 'agent-session' &&
|
||||
item.id === activeTabId
|
||||
}
|
||||
isPinned={item.isPinned}
|
||||
isExpanded={false}
|
||||
onActivate={() => onActivateAgentSession?.(item.id)}
|
||||
onActivate={() => activateRealTab(onActivateAgentSession)(item.id)}
|
||||
onClose={() => onClose(item.id)}
|
||||
onCloseOthers={() => onCloseOthers(item.id)}
|
||||
onCloseToRight={() => onCloseToRight(item.id)}
|
||||
|
||||
Reference in New Issue
Block a user