mission_control-servers 0.2.0 → 0.2.1

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: 25546da957cd31624cabcbfd4d4b9ca757a5aab78a4f11ee50faa8c8ccf5fdf0
4
- data.tar.gz: 755ae1684dfdf2a1c7b52016b0dc78e160676fbfbe209df0acbf17c6ab8955c7
3
+ metadata.gz: 92e8eb79adc6b58a6e4dfb200e31284aeefde941d52e298789227875f0d41064
4
+ data.tar.gz: 195a5bcc3214690ba5b322a0546a557fbd2b70fb77d6b867eb49a9afa6bfaf83
5
5
  SHA512:
6
- metadata.gz: ef45723503f23a6d46375c9b54c0349d38722019c800f17abb6b2654f7e76940c20dff616b1da332db794d81d8cc4bafbffa873dcea517a17b35abc0653380e3
7
- data.tar.gz: 00a457737bbea150ee4309d8a21dbd096ab833546157ac53008e1952f2fc5bd12863d98115fb02f4f344b81695af68c42b5e5de5ca3134ca407bf030ba901d93
6
+ metadata.gz: 5c7bc05af493a4209c6e955d25bf94488c38abe0eb9660823d7363858e1177264bb08aaccb8d538eb37e90ba22abfb99c0c8118f4b4a0acc2b01262244c196d5
7
+ data.tar.gz: dd63078fc770424f3b90cd7a0e28e0daa03414bc34f223d53d85068b55da963b532584af775cbf59db2b9efe6b4cb4393c8fcd21400292eac943df49ec7fb586
@@ -8,7 +8,6 @@ export default class extends Controller {
8
8
  connect() {
9
9
  this.showInitialTab();
10
10
  this.loopThroughTabs();
11
- console.log(this.refreshIntervalValue);
12
11
  }
13
12
 
14
13
  showInitialTab() {
@@ -41,8 +41,8 @@
41
41
  </span>
42
42
  </div>
43
43
  </div>
44
-
45
- <%= tag.div data: { controller: "tabs", "tabs-refresh-interval-value": (params[:interval].to_i * 1000 || 10_000 ) } do %>
44
+ <% interval = params[:interval].present? ? params[:interval].to_i * 1000 : 10_000 %>
45
+ <%= tag.div data: { controller: "tabs", "tabs-refresh-interval-value": interval } do %>
46
46
  <div class="mt-3">
47
47
  <div class="">
48
48
  <!-- Current: "text-gray-900", Default: "text-gray-500 hover:text-gray-700" -->
@@ -1,5 +1,5 @@
1
1
  module MissionControl
2
2
  module Servers
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mission_control-servers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Kimura