eternagame / eterna-mobile

Eterna mobile app
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Fix bug where active filters in explore would prevent game launch #52

Closed tkaragianes closed 2 years ago

tkaragianes commented 2 years ago

Closes https://github.com/eternagame/eterna-mobile/issues/33. The PuzzleCard component used this.$router.currentRoute.fullPath which includes the query string. Using this.$router.currentRoute.path fixes this bug, allowing puzzles to be launched even when filters are active.

This component is also used in too many contexts (Puzzle Explore and Single Puzzle View) with varying behavior and visuals, and uses custom events in some contexts and direct imperative functions in others. Will need clean up in mobile re-write.