From cea57b17f535ea15ed9b8f627cb427b53bf2f562 Mon Sep 17 00:00:00 2001
From: Star Richardson <67430892+alicenstar@users.noreply.github.com>
Date: Fri, 20 Oct 2023 12:09:50 -0600
Subject: [PATCH] uncomment route protection
---
web/src/Root.tsx | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/web/src/Root.tsx b/web/src/Root.tsx
index 794b0f8eff..54e86f9a31 100644
--- a/web/src/Root.tsx
+++ b/web/src/Root.tsx
@@ -592,22 +592,22 @@ const Root = () => {
/>
>
)}
- {/* {(state.adminConsoleMetadata?.isKurl ||
- state.adminConsoleMetadata?.isHelmVM) && ( */}
-
- ) : (
-
- )
- }
- />
- {/* )}
- {state.adminConsoleMetadata?.isHelmVM && ( */}
- } />
- {/* )} */}
+ {(state.adminConsoleMetadata?.isKurl ||
+ state.adminConsoleMetadata?.isHelmVM) && (
+
+ ) : (
+
+ )
+ }
+ />
+ )}
+ {state.adminConsoleMetadata?.isHelmVM && (
+ } />
+ )}
}