Maelstromeous / ps2alerts-website

This project has moved!
https://github.com/ps2alerts/website
GNU General Public License v2.0
10 stars 1 forks source link

ParseAlert Bug #33

Closed Maelstromeous closed 7 years ago

Maelstromeous commented 8 years ago
TypeError: Cannot read property 'wins' of undefined
    at Object.factory.parseAlert (main.js:1)
    at main.js:1
    at deps.js:2
    at m.$eval (deps.js:3)
    at m.$digest (deps.js:3)
    at m.$apply (deps.js:3)
    at g (deps.js:2)
    at t (deps.js:2)
    at XMLHttpRequest.u.onload (deps.js:2)
Maelstromeous commented 8 years ago

Seems to happen when the RTM detects an end and if the user hasn't visited the homepage, that service isn't loaded.

Maelstromeous commented 8 years ago

Maybe a check to detect if the service has been initialized will do the trick to prevent the error.

Maelstromeous commented 7 years ago

Fixed