ariadne_view_components 0.0.80 → 0.0.80.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,11 +5,8 @@ export default class DialogController extends controllerFactory()({
5
5
  targets: {dialog: HTMLDialogElement},
6
6
  }) {
7
7
  close() {
8
+ if (!this.dialogTarget.open) return
8
9
  this.dialogTarget.close()
9
- // reset any child forms
10
- // for (const form of this.dialogTarget.querySelectorAll('form') ?? []) {
11
- // form.reset()
12
- // }
13
10
  enableBodyScroll(this.dialogTarget)
14
11
  }
15
12
  disconnect() {
@@ -3,6 +3,6 @@
3
3
  # :nocov:
4
4
  module Ariadne
5
5
  module ViewComponents
6
- VERSION = "0.0.80"
6
+ VERSION = "0.0.80.1"
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ariadne_view_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.80
4
+ version: 0.0.80.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen J. Torikian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-08 00:00:00.000000000 Z
11
+ date: 2024-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tailwind_merge