pg_rails 7.6.11 → 7.6.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 94ce6725dc3bda0f243cac15789f9b1e8bae483a2c7a27a03b90be4c574605cb
4
- data.tar.gz: 1ddac002f2e007ab5a86bb66a3eb387a576fa3cedb7c177e9acd61e1d19136bd
3
+ metadata.gz: 1f35011278d4b067bc2403d77baf705e550da975f183caf5d1e4f9c3a1972c8f
4
+ data.tar.gz: fcc091e8da09c10c9e0d83dbfaac0cd15f18700dc123b84612f8c18b8961912f
5
5
  SHA512:
6
- metadata.gz: 57f79bbcb61c6b7ece9205bf9518c4c955796d209672882fdd337c54af8741cd07b7d1cca667537bd3271adddcedd94bb8acf1e9da25f13b2d5cb5c99b06ea3c
7
- data.tar.gz: c8fba7e89d87b571085f923130bf5a081aaac7c345c910b47024317a06d9d84be18d887a6e526bd769fac1b4513cf1cb7fb9b23b61cafa3a847c53dde70bf6b4
6
+ metadata.gz: '072869575c51d4b76f17f5f3eaac84ab7abb8bc284fb1fe15f9230913bd672223d7f29cdf92d08340398f2413bf411d7453fb85bd95b7a4979dc9bd30b89569a'
7
+ data.tar.gz: bb2a461752564560899be90ee149cbaac75ebf3921177c2cbc0c289b0cbd0973223c6521c15a407d9071ba21bc85b1152a9da1279a960313b97165749dfd3ebc
@@ -1,6 +1,6 @@
1
1
  / TODO: usar ModalComponent?
2
2
  .modal[class="#{@klass} modal-#{@modal_id}" tabindex="-1" data-controller="modal"
3
- data-auto-show="true" data-remove-on-hide="false"
3
+ data-auto-show="true" data-remove-on-hide="true"
4
4
  data-modal-asociable-outlet=".asociable-#{@modal_id}"
5
5
  data-turbo-temporary="true"]
6
6
  .modal-dialog
@@ -23,7 +23,8 @@ module PgEngine
23
23
  end
24
24
 
25
25
  def modal_targeted?
26
- current_turbo_frame == 'modal_content'
26
+ current_turbo_frame.present? &&
27
+ current_turbo_frame.start_with?('modal_content')
27
28
  end
28
29
 
29
30
  def frame_embedded?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PgRails
4
- VERSION = '7.6.11'
4
+ VERSION = '7.6.12'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.6.11
4
+ version: 7.6.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martín Rosso