From 913c130f86049c17c78360bcaf1df0bf3d67a9be Mon Sep 17 00:00:00 2001 From: Eneko Fernandez Date: Tue, 19 Dec 2023 18:08:47 +0100 Subject: [PATCH] review PR Signed-off-by: Eneko Fernandez --- ui/App.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ui/App.tsx b/ui/App.tsx index fd1d59ba155..eeebcde6911 100644 --- a/ui/App.tsx +++ b/ui/App.tsx @@ -88,7 +88,9 @@ const App = () => { const { isFlagEnabled } = useFeatureFlags(); - const isNewRuntimeEnabled = isFlagEnabled("WEAVE_GITOPS_FEATURE_GITOPS_RUNTIME"); + const isNewRuntimeEnabled = isFlagEnabled( + "WEAVE_GITOPS_FEATURE_GITOPS_RUNTIME" + ); const navItems: NavItem[] = [ { @@ -162,7 +164,11 @@ const App = () => { path={V2Routes.ImagePolicyDetails} component={withSearchParams(ImagePolicyDetails)} /> - {isNewRuntimeEnabled ? : } + {isNewRuntimeEnabled ? ( + + ) : ( + + )}