mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-07-07 22:22:38 +08:00
fix(git-panel): reset changes view on project switch
This commit is contained in:
@@ -107,6 +107,7 @@ export default function GitPanel({ selectedProject, isMobile = false, onFileOpen
|
|||||||
|
|
||||||
{activeView === 'changes' && (
|
{activeView === 'changes' && (
|
||||||
<ChangesView
|
<ChangesView
|
||||||
|
key={selectedProject.fullPath}
|
||||||
isMobile={isMobile}
|
isMobile={isMobile}
|
||||||
projectPath={selectedProject.fullPath}
|
projectPath={selectedProject.fullPath}
|
||||||
gitStatus={gitStatus}
|
gitStatus={gitStatus}
|
||||||
|
|||||||
Reference in New Issue
Block a user