File tree 2 files changed +8
-8
lines changed
static/app/components/nav
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -26,15 +26,15 @@ describe('OrgDropdown', function () {
26
26
27
27
expect ( screen . getByRole ( 'link' , { name : 'Organization Settings' } ) ) . toHaveAttribute (
28
28
'href' ,
29
- `/settings /${ organization . slug } /`
29
+ `/organizations /${ organization . slug } /settings /`
30
30
) ;
31
31
expect ( screen . getByRole ( 'link' , { name : 'Members' } ) ) . toHaveAttribute (
32
32
'href' ,
33
- `/settings /${ organization . slug } /members/`
33
+ `/organizations /${ organization . slug } /settings /members/`
34
34
) ;
35
35
expect ( screen . getByRole ( 'link' , { name : 'Teams' } ) ) . toHaveAttribute (
36
36
'href' ,
37
- `/settings /${ organization . slug } /teams/`
37
+ `/organizations /${ organization . slug } /settings /teams/`
38
38
) ;
39
39
} ) ;
40
40
Original file line number Diff line number Diff line change @@ -107,26 +107,26 @@ export function OrgDropdown({className}: {className?: string}) {
107
107
{
108
108
key : 'organization-settings' ,
109
109
label : t ( 'Organization Settings' ) ,
110
- to : `/settings /${ organization . slug } /` ,
110
+ to : `/organizations /${ organization . slug } /settings /` ,
111
111
hidden : ! hasOrgRead ,
112
112
} ,
113
113
{
114
114
key : 'members' ,
115
115
label : t ( 'Members' ) ,
116
- to : `/settings /${ organization . slug } /members/` ,
116
+ to : `/organizations /${ organization . slug } /settings /members/` ,
117
117
hidden : ! hasMemberRead ,
118
118
} ,
119
119
{
120
120
key : 'teams' ,
121
121
label : t ( 'Teams' ) ,
122
- to : `/settings /${ organization . slug } /teams/` ,
122
+ to : `/organizations /${ organization . slug } /settings /teams/` ,
123
123
hidden : ! hasTeamRead ,
124
124
} ,
125
125
{
126
126
key : 'billing' ,
127
127
label : t ( 'Usage & Billing' ) ,
128
- to : `/settings /${ organization . slug } /billing/` ,
129
- hidden : ! hasBillingAccess ,
128
+ to : `/organizations /${ organization . slug } /settings /billing/` ,
129
+ hidden : hasBillingAccess ,
130
130
} ,
131
131
{
132
132
key : 'switch-organization' ,
You can’t perform that action at this time.
0 commit comments