R2NorthstarTools / FlightCore

Installer/Updater/Launcher for Northstar
MIT License
59 stars 14 forks source link

`this.$t` is undefined when switching view #1001

Open GeckoEidechse opened 3 weeks ago

GeckoEidechse commented 3 weeks ago

image

To reproduce

  1. Go to dev view
  2. Start installing a Northstar release image
  3. Before it finishes, go to PlayView
  4. Wait
  5. Error message should pop up when installation is done

Might also affect other view switches, not yet tested.

GeckoEidechse commented 3 weeks ago

Found by @barnabwhy via https://discord.com/channels/920776187884732556/936105663942246410/1273625510588715040

barnabwhy commented 3 weeks ago

I also mentioned in our discussion on Discord that it might be worth considering switching some/all vue files to the composition api to help avoid issues like this since less stuff would depend on component this objects