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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/app/assets/javascripts/ariadne_view_components.js +1 -1
- data/app/assets/javascripts/ariadne_view_components.js.br +0 -0
- data/app/assets/javascripts/ariadne_view_components.js.gz +0 -0
- data/app/assets/javascripts/ariadne_view_components.js.map +1 -1
- data/app/components/ariadne/ui/dialog/component.ts +1 -4
- data/lib/ariadne/view_components/version.rb +1 -1
- metadata +2 -2
@@ -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() {
|
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-
|
11
|
+
date: 2024-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tailwind_merge
|