File tree 1 file changed +10
-9
lines changed
site/src/modules/management
1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ const OrganizationsSettingsNavigation: FC<
115
115
</ Button >
116
116
</ PopoverTrigger >
117
117
< PopoverContent align = "start" className = "w-60" >
118
- < Command >
118
+ < Command loop >
119
119
< CommandList >
120
120
< CommandGroup className = "pb-2" >
121
121
{ organizations . length > 1 && (
@@ -149,14 +149,15 @@ const OrganizationsSettingsNavigation: FC<
149
149
{ organizations . length > 1 && (
150
150
< hr className = "h-px my-2 border-none bg-border -mx-2" />
151
151
) }
152
- < Button asChild variant = "subtle" className = "w-full h-8" >
153
- < a
154
- href = "/organizations/new"
155
- className = "flex items-center gap-1 no-underline text-content-secondary hover:text-content-primary visited:text-content-secondary"
156
- >
157
- < Plus /> Create Organization
158
- </ a >
159
- </ Button >
152
+ < CommandItem
153
+ className = "flex justify-center"
154
+ onSelect = { ( ) => {
155
+ setIsPopoverOpen ( false ) ;
156
+ navigate ( "/organizations/new" ) ;
157
+ } }
158
+ >
159
+ < Plus /> Create Organization
160
+ </ CommandItem >
160
161
</ >
161
162
) }
162
163
</ CommandGroup >
You can’t perform that action at this time.
0 commit comments