pg_eventstore 1.0.1 → 1.0.2

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: 6e19579ca7d60484010b00aa2c6a823c71a2181cff6c6b9d83f6abcea32912c1
4
- data.tar.gz: c4f2c0a04a4f63e0df4f75e0d361cd43c2183ac9d6fa7789f7be7f10e4e48212
3
+ metadata.gz: df0f1cb9814509329a52545776c5f3b3445b98f436cba8491c607ff6a4aaeea2
4
+ data.tar.gz: 6044ef3293026dc4f4e952d5591ed660006cd79b14ab14d744b150f0d3e3a6ad
5
5
  SHA512:
6
- metadata.gz: 84c2e4127b0ad6f4f68bfadbf1f659d5bf03e686de01a7c2fe3372afb2ee05e3dcc53495577a4ad8e9d387725ceb6c4c7a2069b97e64b714f763098596be2708
7
- data.tar.gz: 1b3de8a2eb16cbb6397eedf4a17e4e094ba5b9a6ca77a2cab840f537a38cf670a227c59b7a14edc3964eeeba82def76a8217b61fb5df673c9348385c795600bc
6
+ metadata.gz: e66202ec3ff994a858fda5266d230d0a47eb12a6fbc921f602f4c73f09df7a5a34e8c3681f1a0889b58a42e82f1a32a59d8e1d73a376af51930774d675c1a4f9
7
+ data.tar.gz: efe0cdbbf6e0fbb123ac767c7bf9e355d15b6159279cb2b2fbca29a15660128a6ecd3b799ca501b83f19f8aefa9904446b64f62fb3f8cd7f200bf5d562c569a0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [1.0.2]
4
+ - UI: Fix opening of SubscriptionsSet tab of non-existing SubscriptionsSet
5
+
3
6
  ## [1.0.1]
4
7
  - Adjust assets urls to correctly act when mounting sinatra app under non-root url
5
8
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PgEventstore
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.2"
5
5
  end
@@ -144,7 +144,9 @@ $(function(){
144
144
  // Open correct SubscriptionsSet tab on page load based on location's hash value. So, e.g., if you navigated to
145
145
  // #set-1 SubscriptionsSet, then, on page reload - the correct tab will be opened
146
146
  if(window.location.hash !== "") {
147
- $(`.set-tab[href="${window.location.hash}"]`).get(0).click();
147
+ let link = $(`.set-tab[href="${window.location.hash}"]`).get(0);
148
+ if(link)
149
+ link.click();
148
150
  }
149
151
  });
150
152
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_eventstore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Dzyzenko
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-05-10 00:00:00.000000000 Z
11
+ date: 2024-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg