From 7f0a92e4248d14ee87f4e97eff4e9b6ef974234b Mon Sep 17 00:00:00 2001 From: Craig O'Donnell Date: Fri, 1 Mar 2024 10:45:38 -0500 Subject: [PATCH] fix license upload page flash when logged out (#4487) --- web/src/components/apps/AppDetailPage.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/components/apps/AppDetailPage.tsx b/web/src/components/apps/AppDetailPage.tsx index 37e419a1e5..824b40003e 100644 --- a/web/src/components/apps/AppDetailPage.tsx +++ b/web/src/components/apps/AppDetailPage.tsx @@ -103,8 +103,10 @@ function AppDetailPage(props: Props) { navigate(`/app/${appsList[0].slug}`, { replace: true }); } else if (props.isHelmManaged) { navigate("/install-with-helm", { replace: true }); - } else { + } else if (Utilities.isLoggedIn()) { navigate("/upload-license", { replace: true }); + } else { + navigate("/secure-console", { replace: true }); } };