File tree 4 files changed +15
-6
lines changed
pages/ManagementSettingsPage
4 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,12 @@ const OrganizationsSettingsNavigation: FC<
86
86
return < Loader /> ;
87
87
}
88
88
89
+ // Sort organizations to put active organization first
90
+ const sortedOrganizations = [
91
+ activeOrganization ,
92
+ ...organizations . filter ( ( org ) => org . id !== activeOrganization . id ) ,
93
+ ] ;
94
+
89
95
const [ isPopoverOpen , setIsPopoverOpen ] = useState ( false ) ;
90
96
const navigate = useNavigate ( ) ;
91
97
@@ -117,9 +123,9 @@ const OrganizationsSettingsNavigation: FC<
117
123
< Command loop >
118
124
< CommandList >
119
125
< CommandGroup className = "pb-2" >
120
- { organizations . length > 1 && (
126
+ { sortedOrganizations . length > 1 && (
121
127
< div className = "flex flex-col max-h-[260px] overflow-y-auto" >
122
- { organizations . map ( ( organization ) => (
128
+ { sortedOrganizations . map ( ( organization ) => (
123
129
< CommandItem
124
130
key = { organization . id }
125
131
value = { organization . name }
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ const CreateOrganizationPage: FC = () => {
18
18
const error = createOrganizationMutation . error ;
19
19
20
20
return (
21
- < main className = "py-20 sm:py- 7" >
21
+ < main className = "py-7" >
22
22
< CreateOrganizationPageView
23
23
error = { error }
24
24
isEntitled = { feats . multiple_organizations }
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export const CreateOrganizationPageView: FC<
64
64
65
65
return (
66
66
< div className = "flex flex-row font-medium" >
67
- < div className = "absolute top-40 left-12" >
67
+ < div className = "absolute left-12" >
68
68
< Link
69
69
to = "/organizations"
70
70
className = "flex flex-row items-center gap-2 no-underline text-content-secondary hover:text-content-primary"
@@ -73,7 +73,7 @@ export const CreateOrganizationPageView: FC<
73
73
Go Back
74
74
</ Link >
75
75
</ div >
76
- < div className = "flex flex-col gap-4 w-full min-w-72 mx-auto" >
76
+ < div className = "flex flex-col gap-4 w-full min-w-96 mx-auto" >
77
77
< div className = "flex flex-col items-center" >
78
78
{ Boolean ( error ) && ! isApiValidationError ( error ) && (
79
79
< div css = { { marginBottom : 32 } } >
Original file line number Diff line number Diff line change @@ -29,7 +29,10 @@ const OrganizationProvisionersPage: FC = () => {
29
29
< >
30
30
< Helmet >
31
31
< title >
32
- { pageTitle ( "Members" , organization . display_name || organization . name ) }
32
+ { pageTitle (
33
+ "Provisioners" ,
34
+ organization . display_name || organization . name ,
35
+ ) }
33
36
</ title >
34
37
</ Helmet >
35
38
< OrganizationProvisionersPageView
You can’t perform that action at this time.
0 commit comments