You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I introduced hotwired/turbo-rails to the application. Since then the click event associated with toggle_bool_column is duplicated.
To Reproduce
I click on the button, then the code runs twice. The database updating happens, but the 'on' class toggles twice and remains it was before.
If I reload the page the button has the correct status.
The text was updated successfully, but these errors were encountered:
Describe the bug
I introduced hotwired/turbo-rails to the application. Since then the click event associated with toggle_bool_column is duplicated.
To Reproduce
I click on the button, then the code runs twice. The database updating happens, but the 'on' class toggles twice and remains it was before.
If I reload the page the button has the correct status.
The text was updated successfully, but these errors were encountered: