solid_apm 0.4.3 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: efcb9cac89d539656968bd244d4aa9b369c5bac01241bc4b87f4a4d3d374e231
4
- data.tar.gz: 322c070fe1eeafa50f4628fa54a59a26361b779427adbdf2aa861305891d27d9
3
+ metadata.gz: 97cdcafb0a31dea64161262374dcfd274cf450836668be0df7f4f5b5d7e70f58
4
+ data.tar.gz: bd0af22ac948642e3ecb63c9b4528011ddc7df7f9ea997caee806687eba7f25b
5
5
  SHA512:
6
- metadata.gz: 4be9f2e4f94ddd42dac90ce6345a0601cd13060154a98f2a915152fafc09df8886281efa7cd5b024769331762c7ec2b1cb0f3d64f3ccb0d700206fc85a1ef787
7
- data.tar.gz: 79bcd0928c31b6199fab8ef1d455bcd635aa7ee6aec5465138a841876d268e943b32e077ff5958cd395591fa3e87586343671163fd8602904ed4a0c029686a15
6
+ metadata.gz: 9c65419c5facee2826defd7428aff0c175e9a982879b4572867370e8b0e0acd265d33f3471c111dbcf64ec192ee9fbc34290f481ad2e79be7e10f2dfb71b9408
7
+ data.tar.gz: 000e091daa7ef33222824974c216d9cc4544d6be37ba6640c3eee87d18c16ced922c7b946d6368a95976f010f0cf6871892afaa229b6153ad6ba32be59f7b84c
@@ -46,10 +46,10 @@ window.Stimulus.register('transaction-chart',
46
46
  path = path + "name=" + encodeURIComponent(this.nameValue);
47
47
  }
48
48
 
49
- const fromValue = document.querySelector('input[name="from_value"]').value
50
- const fromUnit = document.querySelector('select[name="from_unit"]').value;
49
+ const fromValue = document.querySelector('input[name="from_value"]')
50
+ const fromUnit = document.querySelector('select[name="from_unit"]');
51
51
  if (fromValue && fromUnit) {
52
- path = path + "&from_value=" + fromValue + "&from_unit=" + fromUnit;
52
+ path = path + "&from_value=" + fromValue.value + "&from_unit=" + fromUnit.value;
53
53
  }
54
54
 
55
55
  fetch(path)
@@ -1,3 +1,3 @@
1
1
  module SolidApm
2
- VERSION = "0.4.3"
2
+ VERSION = "0.4.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solid_apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean-Francis Bastien