File tree Expand file tree Collapse file tree 3 files changed +24
-24
lines changed Expand file tree Collapse file tree 3 files changed +24
-24
lines changed Original file line number Diff line number Diff line change @@ -29,18 +29,18 @@ const AccountTabs: FC<Props> = ({activeTab}) => {
2929 const orgID = useSelector ( getOrg ) ?. id
3030
3131 const tabs : AccountPageTab [ ] = [
32- {
33- text : 'Billing' ,
34- id : Tab . Billing ,
35- testID : 'accounts-billing-tab' ,
36- link : `/orgs/${ orgID } /billing` ,
37- } ,
3832 {
3933 text : 'Settings' ,
4034 id : Tab . About ,
4135 testID : 'accounts-setting-tab' ,
4236 link : `/orgs/${ orgID } /accounts/settings` ,
4337 } ,
38+ {
39+ text : 'Billing' ,
40+ id : Tab . Billing ,
41+ testID : 'accounts-billing-tab' ,
42+ link : `/orgs/${ orgID } /billing` ,
43+ } ,
4444 ]
4545
4646 return (
Original file line number Diff line number Diff line change @@ -40,18 +40,18 @@ const OrgNavigation: FC<Props> = ({activeTab}) => {
4040 enabled : ( ) => ! CLOUD ,
4141 link : `/orgs/${ orgID } /members` ,
4242 } ,
43- {
44- text : 'Members' ,
45- id : Tab . Users ,
46- enabled : ( ) => CLOUD ,
47- link : `/orgs/${ orgID } /users` ,
48- } ,
4943 {
5044 text : 'Settings' ,
5145 id : Tab . About ,
5246 enabled : ( ) => CLOUD ,
5347 link : `/orgs/${ orgID } /about` ,
5448 } ,
49+ {
50+ text : 'Members' ,
51+ id : Tab . Users ,
52+ enabled : ( ) => CLOUD ,
53+ link : `/orgs/${ orgID } /users` ,
54+ } ,
5555 {
5656 text : 'About' ,
5757 id : Tab . About ,
Original file line number Diff line number Diff line change @@ -41,6 +41,14 @@ const UserWidget: FC<Props> = ({
4141 < TreeNav . User username = { me . name } team = { org . name } testID = "user-nav" >
4242 < CloudOnly >
4343 < TreeNav . SubHeading label = "Account" />
44+ < TreeNav . UserItem
45+ id = "account"
46+ label = "Settings"
47+ testID = "user-account-switching-page"
48+ linkElement = { className => (
49+ < Link className = { className } to = { `${ orgPrefix } /accounts/settings` } />
50+ ) }
51+ />
4452 < TreeNav . UserItem
4553 id = "billing"
4654 label = "Billing"
@@ -49,15 +57,15 @@ const UserWidget: FC<Props> = ({
4957 < Link className = { className } to = { `${ orgPrefix } /billing` } />
5058 ) }
5159 />
60+ < TreeNav . SubHeading label = "Organization" />
5261 < TreeNav . UserItem
53- id = "account "
62+ id = "about "
5463 label = "Settings"
55- testID = "user-account-switching-page "
64+ testID = "user-nav-item-about "
5665 linkElement = { className => (
57- < Link className = { className } to = { `${ orgPrefix } /accounts/settings ` } />
66+ < Link className = { className } to = { `${ orgPrefix } /about ` } />
5867 ) }
5968 />
60- < TreeNav . SubHeading label = "Organization" />
6169 < TreeNav . UserItem
6270 id = "users"
6371 label = "Members"
@@ -66,14 +74,6 @@ const UserWidget: FC<Props> = ({
6674 < Link className = { className } to = { `${ orgPrefix } /users` } />
6775 ) }
6876 />
69- < TreeNav . UserItem
70- id = "about"
71- label = "Settings"
72- testID = "user-nav-item-about"
73- linkElement = { className => (
74- < Link className = { className } to = { `${ orgPrefix } /about` } />
75- ) }
76- />
7777 < TreeNav . UserItem
7878 id = "usage"
7979 label = "Usage"
You can’t perform that action at this time.
0 commit comments