Skip to content

Commit

Permalink
Merge branch 'release/0.2.2' into production
Browse files Browse the repository at this point in the history
  • Loading branch information
vinnydiehl committed Jun 29, 2023
2 parents 3b7316c + 254bdb2 commit 3dbc6c0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,11 @@
Brief summary of the changes in each version. For more details, see the
[commit history](https://github.com/vinnydiehl/pokelog/commits/trunk).

## [0.2.2](https://github.com/vinnydiehl/pokelog/tree/0.2.2) - 29 June 2023

* Fix regression of bug where multiple selects will spawn during restoration
visits.

## [0.2](https://github.com/vinnydiehl/pokelog/tree/0.2) - 17 June 2023

* Full rewrite of the client-side; performance improvements and bugfixes,
Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
0.2.1
0.2.2
4 changes: 3 additions & 1 deletion app/javascript/controllers/select_controller.js
Expand Up @@ -11,6 +11,8 @@ export default class extends Controller {
// recursively connects new select tags in an infinite loop. Perhaps, when hiding the
// one which is actually there, it for some reason deletes and generates a new, hidden one?
initialize() {
M.FormSelect.init(this.element);
// Hack to prevent these from getting double loaded on restoration visits
if (!document.querySelector(".select-wrapper input"))
M.FormSelect.init(this.element);
}
}
1 change: 0 additions & 1 deletion app/views/pages/index.haml
@@ -1,6 +1,5 @@
- provide :title, "PokéLog"


:markdown
Welcome to PokéLog! This tool strives to make it easy for anyone to
simultaneously EV train multiple Pokémon at a time. No notebooks full of
Expand Down

0 comments on commit 3dbc6c0

Please sign in to comment.