-
Notifications
You must be signed in to change notification settings - Fork 894
chore: consolidate ManageSettingsLayout
code
#14885
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
bf9ab32
05d1e80
602ffab
88bc231
445b82e
183c5db
c8eaa77
f4beba0
3af9601
16f6650
932f829
4288004
62b4575
6581e8d
0719fbd
6fea1be
fc7732c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,7 +102,7 @@ const UsersPage: FC = () => { | |
authMethodsQuery.isLoading || | ||
groupsByUserIdQuery.isLoading; | ||
|
||
if (showOrganizations && location.pathname === "/users") { | ||
if (location.pathname === "/users") { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could I get more context on this change? Mainly wondering why we went from There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The goal is just to always redirect from /users to /deployment/users. I guess I could've left it the other way, this just feels clearer to me. |
||
return <Navigate to={`/deployment/users${location.search}`} replace />; | ||
} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why would showOrganizations need to be true to show only the Deployment header? Is there some reason to show DeploymentSettingsNavigation without the Header text?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it just looks weird for it to say deployment twice without the organizations section below. it's weird, but we'll get rid of this when we adopt the designs we went over with Christin.