Skip to content

Commit

Permalink
Update TBC and use command_state (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
hopsoft authored Feb 21, 2024
1 parent 1dfffc8 commit 835a39f
Show file tree
Hide file tree
Showing 8 changed files with 120 additions and 120 deletions.
2 changes: 1 addition & 1 deletion app/assets/builds/@turbo-boost/elements.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/assets/builds/@turbo-boost/elements.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/javascript/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default '0.0.18'
export default '0.0.19'
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def target_tag(
end

def target_expanded?(dom_id)
!!controller_pack.state[dom_id]
!!controller_pack.command_state[dom_id]
end

def target_collapsed?(dom_id)
Expand Down
2 changes: 1 addition & 1 deletion lib/turbo_boost/elements/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module TurboBoost
module Elements
VERSION = "0.0.18"
VERSION = "0.0.19"
end
end
Loading

0 comments on commit 835a39f

Please sign in to comment.