Skip to content

Commit fd13b1d

Browse files
Merge pull request #647 from farhan-nurzi-deriv/farhan/TRAH-3508/wallets-redirection
Farhan/TRAH-3508/Need to fix the wallet redirection from Smarttrader
2 parents 21b27af + 601b760 commit fd13b1d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/javascript/app/base/header.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ const Header = (() => {
8080
}
8181

8282
applyToAllElements('.url-wallet-apps', (el) => {
83-
el.href = Url.urlForDeriv('wallets', `ext_platform_url=${ext_platform_url}`);
83+
el.href = Url.urlForDeriv('', `ext_platform_url=${ext_platform_url}`);
8484
});
8585
applyToAllElements('.url-appstore', (el) => {
86-
el.href = Url.urlForDeriv('appstore/traders-hub', `ext_platform_url=${ext_platform_url}`);
86+
el.href = Url.urlForDeriv('', `ext_platform_url=${ext_platform_url}`);
8787
});
8888
applyToAllElements('.url-reports-positions', (el) => {
8989
el.href = Url.urlForDeriv('reports/positions', `ext_platform_url=${ext_platform_url}`);
@@ -110,7 +110,7 @@ const Header = (() => {
110110
el.href = Url.urlForDeriv('redirect', `action=manage_account&ext_platform_url=${ext_platform_url}`);
111111
});
112112
applyToAllElements('.url-wallets-deposit', el => {
113-
el.href = Url.urlForDeriv('wallets/cashier/transfer', `ext_platform_url=${ext_platform_url}`);
113+
el.href = Url.urlForDeriv('redirect', `action=payment_transfer&ext_platform_url=${ext_platform_url}`);
114114
});
115115
};
116116

0 commit comments

Comments
 (0)