jpmayer / fantasy-chrome-extension

Chrome Extension for Creating LM Note Content in ESPN Fantasy Football Leagues
MIT License
39 stars 13 forks source link

Database success message multiple instances #37

Closed jpmayer closed 6 years ago

jpmayer commented 6 years ago

Happens when user selects to track 3rd place game (one extra instance) or losers bracket (multiple extras) because it was under the impression before that the last week of the season only had one game, so with more games in the last week, it sends the message for every one being tracked.

The problem is that the calls are asynchronous and dont know if there is another call after it, may need a flag for if that alert has been shown; BUT if we show it on the first insert of the last week instead of the last, the DB really isnt finished yet, there may be a few more INSERTs left

jpmayer commented 6 years ago

https://github.com/jpmayer/fantasy-chrome-extension/pull/44