Skip to content

Commit

Permalink
fix: make tree view the default panel for repo overview
Browse files Browse the repository at this point in the history
  • Loading branch information
garethgeorge committed Mar 30, 2024
1 parent e8bbe2c commit 3f9c9f4
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions webui/src/views/RepoView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,6 @@ export const RepoView = ({ repo }: React.PropsWithChildren<{ repo: Repo }>) => {
const items = [
{
key: "1",
label: "Stats",
children: (
<>
<StatsPanel repoId={repo.id!} />
</>
),
destroyInactiveTabPane: true,
},
{
key: "2",
label: "Tree View",
children: (
<>
Expand All @@ -65,7 +55,7 @@ export const RepoView = ({ repo }: React.PropsWithChildren<{ repo: Repo }>) => {
destroyInactiveTabPane: true,
},
{
key: "3",
key: "2",
label: "Operation List",
children: (
<>
Expand All @@ -79,6 +69,16 @@ export const RepoView = ({ repo }: React.PropsWithChildren<{ repo: Repo }>) => {
),
destroyInactiveTabPane: true,
},
{
key: "3",
label: "Stats",
children: (
<>
<StatsPanel repoId={repo.id!} />
</>
),
destroyInactiveTabPane: true,
},
]
return (
<>
Expand Down

0 comments on commit 3f9c9f4

Please sign in to comment.