Hide Git panel outside repositories

This commit is contained in:
Federico Jaramillo Martinez
2026-05-08 15:39:37 +02:00
parent 87d0aa3b21
commit 8b355f414b
9 changed files with 30 additions and 13 deletions
+1 -1
View File
@@ -75,5 +75,5 @@ describe("PluginRegistry", () => {
});
function testWorkspace(): AppState["selectedWorkspace"] {
return { id: "w1", projectId: "p1", path: "/tmp/project", label: "main", isMain: true, isGitWorktree: false };
return { id: "w1", projectId: "p1", path: "/tmp/project", label: "main", isMain: true, isGitRepo: true, isGitWorktree: false };
}