Open ZoeBijl opened 5 months ago
Saving in local storage does not work if you have more than one airline and you start not on the dashboard (via bookmark for example). I added getAirlineName() to AES-class, getAirlineCode() should no longer be used.
that’s a good point about the multiple airlines, perhaps this issue can be closed
The player’s airline name and code should be saved in local storage; that way it’s accessible from every page.
There’s a helper in
helpers.js
that could be modified to allow this.