From 1df1038b6ed83fc2f415647357da5bd13eafad12 Mon Sep 17 00:00:00 2001 From: Florian Scholdei Date: Tue, 1 Jun 2021 15:14:06 +0200 Subject: [PATCH] Fix create link so that its correctly highlighted The "Create Repository" button in the TabGroup when creating a repository was not highlighted when the "Add Repository" button is first clicked from within the Repository Overview. This is because the routes were not matching. I fixed the lower link in the "Add Repository" button that leads to the create page. --- scm-ui/ui-webapp/src/repos/containers/Overview.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scm-ui/ui-webapp/src/repos/containers/Overview.tsx b/scm-ui/ui-webapp/src/repos/containers/Overview.tsx index 6b9dd7afe2..bd6bfdf5d0 100644 --- a/scm-ui/ui-webapp/src/repos/containers/Overview.tsx +++ b/scm-ui/ui-webapp/src/repos/containers/Overview.tsx @@ -139,7 +139,7 @@ const Overview: FC = () => { return ( - {showCreateButton ? : null} + {showCreateButton ? : null} {showActions ? (