fix(sessions): restore worktree menu type wiring
This commit is contained in:
@@ -6,6 +6,7 @@ import { useUIStore } from '@/stores/useUIStore';
|
|||||||
import { useGitHubAuthStore } from '@/stores/useGitHubAuthStore';
|
import { useGitHubAuthStore } from '@/stores/useGitHubAuthStore';
|
||||||
import { getGitHubPrStatusKey, useGitHubPrStatusStore } from '@/stores/useGitHubPrStatusStore';
|
import { getGitHubPrStatusKey, useGitHubPrStatusStore } from '@/stores/useGitHubPrStatusStore';
|
||||||
import { useRuntimeAPIs } from '@/hooks/useRuntimeAPIs';
|
import { useRuntimeAPIs } from '@/hooks/useRuntimeAPIs';
|
||||||
|
import type { SessionTreeItemProps } from '../sessions/SessionTreeItem';
|
||||||
import { useArchivedAutoFolders } from '../folders/useArchivedAutoFolders';
|
import { useArchivedAutoFolders } from '../folders/useArchivedAutoFolders';
|
||||||
import { ProjectSessionSelectionEffect } from '../projects/useProjectSessionSelection';
|
import { ProjectSessionSelectionEffect } from '../projects/useProjectSessionSelection';
|
||||||
import type { WorktreeMetadata } from '@/types/worktree';
|
import type { WorktreeMetadata } from '@/types/worktree';
|
||||||
@@ -467,6 +468,7 @@ const VisibleSessionProjects: React.FC<SessionProjectCollectionProps> = ({ topol
|
|||||||
showRecentSection={showRecentSection && !singleProjectMode}
|
showRecentSection={showRecentSection && !singleProjectMode}
|
||||||
/> : null
|
/> : null
|
||||||
), [
|
), [
|
||||||
|
actions.startSessionWorktreeMenuLoad,
|
||||||
alwaysShowActions,
|
alwaysShowActions,
|
||||||
collection.childrenMap,
|
collection.childrenMap,
|
||||||
collection.pinnedSessionIds,
|
collection.pinnedSessionIds,
|
||||||
|
|||||||
Reference in New Issue
Block a user