Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DTRA] Maryia/FEQ-1465/TrackJS error '404 : GET https://smarttrader.deriv.com/en/user/top_up_virtual_pop_up.html & dialog.html #611

Conversation

maryia-deriv
Copy link
Contributor

@maryia-deriv maryia-deriv commented Feb 14, 2024

Changes:

  • Restoration of TopUpVirtualPopup and Dialog modals is under discussion. I left comments in the code in case of their future restoration.

Type of change

  • Bug fix
  • New feature
  • Update feature
  • Refactor code
  • Translation to code
  • Translation to crowdin
  • Script configuration
  • Improve performance
  • Style only
  • Dependency update
  • Documentation update
  • Release

@maryia-deriv maryia-deriv requested a review from a team as a code owner February 14, 2024 15:04
@maryia-deriv maryia-deriv changed the title [DTRA] Maryia/FEQ-1465/fix: avoid appending undefined node of unused top_up_virtual_pop_up [DTRA] Maryia/FEQ-1465/TrackJS error '404 : GET https://smarttrader.deriv.com/en/user/top_up_virtual_pop_up.html & dialog.html Feb 14, 2024
Copy link

Preview Link: https://pr-611.smarttrader-preview.pages.dev

Name Result
Build status Completed ✅
Preview URL Visit Preview
Action URL Visit Action

@@ -15,7 +15,7 @@ const showPopup = (options) => {
}
if (cache[options.url]) {
callback(options);
} else {
} else if (options.url) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how could options.url trigger since its commented out ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need this condition because we don't want the code below to get executed if there is no options.url (e.g. when it's commented out like in our case).

@maryia-deriv maryia-deriv merged commit 7731193 into deriv-com:master Feb 21, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants