mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-11 08:42:11 +00:00
Render grouped sessions when local list is empty
This commit is contained in:
parent
3fc67b7333
commit
0f500fc41d
1 changed files with 2 additions and 1 deletions
|
|
@ -1028,7 +1028,8 @@ function SidebarSessionsSection({
|
|||
onReorder,
|
||||
dndSensors
|
||||
}: SidebarSessionsSectionProps) {
|
||||
const showEmptyState = forceEmptyState || sessions.length === 0
|
||||
const hasGroupedSessions = Boolean(groups?.some(group => group.sessions.length > 0))
|
||||
const showEmptyState = forceEmptyState || (!hasGroupedSessions && sessions.length === 0)
|
||||
const dndActive = sortable && !!onReorder
|
||||
|
||||
const renderRow = (session: SessionInfo) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue