Skip to content

Commit

Permalink
fix license upload page flash when logged out (#4487)
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig O'Donnell authored Mar 1, 2024
1 parent 30235c2 commit 7f0a92e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/src/components/apps/AppDetailPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
}
};

Expand Down

0 comments on commit 7f0a92e

Please sign in to comment.