Skip to content

Commit 3971773

Browse files
oalkaboussOmar ALKABOUSS MOUSSANA
authored andcommitted
feat(billing): add my services shortcuts in account sidebar for us (#18181)
ref: #MANAGER-18897 Signed-off-by: Omar ALKABOUSS MOUSSANA <[email protected]>
1 parent f08d2ad commit 3971773

File tree

1 file changed

+6
-10
lines changed
  • packages/manager/apps/container/src/container/legacy/account-sidebar/Shortcuts

1 file changed

+6
-10
lines changed

packages/manager/apps/container/src/container/legacy/account-sidebar/Shortcuts/useShortcuts.ts

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,12 @@ const useShortcuts = (): UseShortcuts => {
2121

2222
const getShortcuts = (): Shortcut[] => {
2323
return [
24-
...(['EU', 'CA'].includes(region)
25-
? [
26-
{
27-
id: 'services',
28-
icon: getOdsIcon(ODS_ICON_NAME.MULTI_DEVICE_CONCEPT),
29-
url: navigation.getURL('dedicated', '#/billing/autoRenew'),
30-
tracking: 'hub::sidebar::shortcuts::go-to-services',
31-
},
32-
]
33-
: []),
24+
{
25+
id: 'services',
26+
icon: getOdsIcon(ODS_ICON_NAME.MULTI_DEVICE_CONCEPT),
27+
url: navigation.getURL('billing', '#/autoRenew'),
28+
tracking: 'hub::sidebar::shortcuts::go-to-services',
29+
},
3430
{
3531
id: 'bills',
3632
icon: getOdsIcon(ODS_ICON_NAME.RECEIPT_CONCEPT),

0 commit comments

Comments
 (0)