Skip to content

Commit 0fa7f0c

Browse files
olgennhaydnli-shopify
authored andcommitted
[Bug]: Tab Billing changes to Settings after top up balance https://github.com/dstackai/dstack-cloud/issues/297 (dstackai#2774)
1 parent bedfbfd commit 0fa7f0c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

frontend/src/pages/User/Details/index.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,16 @@ export const UserDetails: React.FC = () => {
6464
id: UserDetailsTabTypeEnum.SETTINGS,
6565
href: ROUTES.USER.DETAILS.FORMAT(paramUserName),
6666
},
67-
process.env.UI_VERSION === 'sky' && {
68-
label: t('billing.title'),
69-
id: UserDetailsTabTypeEnum.BILLING,
70-
href: ROUTES.USER.BILLING.LIST.FORMAT(paramUserName),
71-
},
7267
{
7368
label: t('users.projects'),
7469
id: UserDetailsTabTypeEnum.PROJECTS,
7570
href: ROUTES.USER.PROJECTS.FORMAT(paramUserName),
7671
},
72+
process.env.UI_VERSION === 'sky' && {
73+
label: t('billing.title'),
74+
id: UserDetailsTabTypeEnum.BILLING,
75+
href: ROUTES.USER.BILLING.LIST.FORMAT(paramUserName),
76+
},
7777
].filter(Boolean);
7878

7979
return (

0 commit comments

Comments
 (0)