支持提交窗口中目录的右键快捷操作

This commit is contained in:
xintaofei
2026-03-15 22:45:15 +08:00
parent d03be55c6b
commit 726a20c8ce
14 changed files with 293 additions and 50 deletions

View File

@@ -422,7 +422,7 @@ function CommitFilesTree({
const file = node.change
return (
<ContextMenu key={`${commitHash}:${file.path}`}>
<ContextMenuTrigger asChild>
<ContextMenuTrigger>
<FileTreeFile
className="w-full min-w-0 cursor-pointer"
name={node.name}