We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9db990e commit f3a8a29Copy full SHA for f3a8a29
browser-extensions/common/js/lib/challenges.js
@@ -1812,8 +1812,8 @@ function challenge_tourist(data, params) {
1812
// Just return true for now
1813
// Return true if the athlete id for this page match what is stored in the user data
1814
function is_our_page(data) {
1815
- // return has_user_data_athlete_id(data) && has_this_athlete_id(data) && get_user_data_athlete_id(data) == get_this_athlete_id(data)
1816
- return data.info.is_our_page
+ // return has_user_data_athlete_id(data) && has_this_athlete_id(data) && get_user_data_athlete_id(data) == get_this_athlete_id(data)
+ return (data.info !== undefined && data.info.is_our_page)
1817
}
1818
1819
function has_user_data(data) {
0 commit comments