From 885f9f4ede0c3bd5d6688f5bf5cc13db14dc5d8b Mon Sep 17 00:00:00 2001 From: "Joshua M. Clulow" Date: Wed, 11 Nov 2020 23:16:34 +0000 Subject: [PATCH] ui: fix Overview screen in OSS builds Previously, when using OSS builds (created with `make buildoss`), when you loading the DB Console in your browser, you'd get "Page Not Found". The route for the overview page was missing the leading '/'. This bug appears to have been introduced in 722c93252eb0199f23b395cabef1bd416534a441. Release note (admin ui change): This fixes a bug where users of the OSS builds of CockroachDB would see "Page Not Found" when loading the Console. --- pkg/ui/src/routes/visualization.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkg/ui/src/routes/visualization.tsx b/pkg/ui/src/routes/visualization.tsx index 35a749c23172..c0a9a5bce12c 100644 --- a/pkg/ui/src/routes/visualization.tsx +++ b/pkg/ui/src/routes/visualization.tsx @@ -31,11 +31,13 @@ class NodesWrapper extends React.Component<{}, {}> { export default function createClusterOverviewRoutes(): JSX.Element { return ( - - - }/> - - + + + + + + + ); }