FlightCore icon indicating copy to clipboard operation
FlightCore copied to clipboard

`this.$t` is undefined when switching view

Open GeckoEidechse opened this issue 1 year ago • 2 comments

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 avatar Aug 15 '24 13:08 GeckoEidechse

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

GeckoEidechse avatar Aug 15 '24 13:08 GeckoEidechse

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

barnabwhy avatar Aug 15 '24 13:08 barnabwhy