From fdffff540505aa83f1d58e6ee4dd657419439b51 Mon Sep 17 00:00:00 2001 From: Gareth George Date: Sat, 30 Mar 2024 09:14:39 +0000 Subject: [PATCH] fix: make tree view the default panel for repo overview --- webui/src/views/RepoView.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/webui/src/views/RepoView.tsx b/webui/src/views/RepoView.tsx index e2de34fc..80d4b6c5 100644 --- a/webui/src/views/RepoView.tsx +++ b/webui/src/views/RepoView.tsx @@ -43,16 +43,6 @@ export const RepoView = ({ repo }: React.PropsWithChildren<{ repo: Repo }>) => { const items = [ { key: "1", - label: "Stats", - children: ( - <> - - - ), - destroyInactiveTabPane: true, - }, - { - key: "2", label: "Tree View", children: ( <> @@ -65,7 +55,7 @@ export const RepoView = ({ repo }: React.PropsWithChildren<{ repo: Repo }>) => { destroyInactiveTabPane: true, }, { - key: "3", + key: "2", label: "Operation List", children: ( <> @@ -79,6 +69,16 @@ export const RepoView = ({ repo }: React.PropsWithChildren<{ repo: Repo }>) => { ), destroyInactiveTabPane: true, }, + { + key: "3", + label: "Stats", + children: ( + <> + + + ), + destroyInactiveTabPane: true, + }, ] return ( <>