Skip to content

Commit

Permalink
Merge pull request #923 from vinu-deriv/fix-account-redirection
Browse files Browse the repository at this point in the history
fix: account redirection from oidc
  • Loading branch information
nijil-deriv authored Feb 26, 2025
2 parents f77fe95 + ca7d0d9 commit f90638d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/javascript/app/base/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ const Header = (() => {
if (is_virtual || !has_real_account) {
manage_acc_btn.style.visibility = 'hidden';
}
if (has_real_account && !is_virtual) {
if (has_real_account && !is_virtual && manage_acc_btn) {
manage_acc_btn.style.visibility = 'visible';
}
// Account adder logic
Expand Down

0 comments on commit f90638d

Please sign in to comment.