solid_litequeen 0.17.0 → 0.17.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d30fe0bf2f0c0ab8a41b4497d692109d5f726b65599352d4a52a688971c56a4
|
4
|
+
data.tar.gz: a996088bd0a4fc0e31434ae2e0bf9df29f6cf290833279bce23a6658d21e63e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c78c1eaa53e52a2d8ce63658219252310b8ef9f4d5550ad2763719dc97b1557395b37069c32690500ef6b32836b7d5e6e9943ff1782b91506e03d6a671502f10
|
7
|
+
data.tar.gz: 41367c721e22af286f6c1731113d9f86bee50c80889dbbda47756049a4413f2401818133ed6b237726af235b7a038e4fd5a2820a10c3eae930f993d42c9a0115
|
@@ -105,9 +105,10 @@ export default class extends Controller {
|
|
105
105
|
}).then((result) => {
|
106
106
|
if (result.ok) {
|
107
107
|
// Get all rows in the table body
|
108
|
-
const tbody = this.element.querySelector("tbody");
|
108
|
+
const tbody = this.element.querySelector("tbody.main");
|
109
109
|
const rows = Array.from(tbody.querySelectorAll("tr"));
|
110
110
|
|
111
|
+
|
111
112
|
// Reorder cells in each row to match new column order
|
112
113
|
for (const row of rows) {
|
113
114
|
const cells = Array.from(row.querySelectorAll("td"));
|
@@ -13,12 +13,12 @@
|
|
13
13
|
|
14
14
|
<script>
|
15
15
|
document.getElementById('database-select').addEventListener('change', function() {
|
16
|
-
|
17
|
-
Turbo.visit('<%= database_path("") %>');
|
16
|
+
if(!this.value){
|
17
|
+
Turbo.visit('<%= URI(database_path("")).path %>');
|
18
18
|
return
|
19
19
|
}
|
20
20
|
|
21
|
-
Turbo.visit('<%= database_path("") %>' + this.value);
|
21
|
+
Turbo.visit('<%= URI(database_path("")).path %>' + this.value);
|
22
22
|
|
23
23
|
});
|
24
24
|
</script>
|
@@ -149,7 +149,7 @@
|
|
149
149
|
</tr>
|
150
150
|
</thead>
|
151
151
|
|
152
|
-
<tbody class="divide-y divide-gray-200 dark:divide-gray-200/50">
|
152
|
+
<tbody class="main divide-y divide-gray-200 dark:divide-gray-200/50">
|
153
153
|
<% @data.rows.each do |row| %>
|
154
154
|
<tr class="hover:bg-gray-50 dark:hover:bg-[var(--color-background-light)]/50" >
|
155
155
|
<% row.each_with_index do |item, index| %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solid_litequeen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vik Borges
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|