avo 3.1.2 → 3.1.3
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.
Potentially problematic release.
This version of avo might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/assets/builds/avo.base.css +4 -8
- data/app/assets/builds/avo.base.js +29 -60
- data/app/assets/builds/avo.base.js.map +3 -3
- data/lib/avo/concerns/has_items.rb +7 -4
- data/lib/avo/version.rb +1 -1
- metadata +2 -2
@@ -101,6 +101,13 @@ module Avo
|
|
101
101
|
if item.is_sidebar?
|
102
102
|
fields << extract_fields(item)
|
103
103
|
end
|
104
|
+
else
|
105
|
+
# When `item.is_main_panel? == true` then also `item.is_panel? == true`
|
106
|
+
# But when only_root == true we want to extract main_panel items
|
107
|
+
# In all other circumstances items will get extracted when checking for `item.is_panel?`
|
108
|
+
if item.is_main_panel?
|
109
|
+
fields << extract_fields(item)
|
110
|
+
end
|
104
111
|
end
|
105
112
|
|
106
113
|
if item.is_field?
|
@@ -110,10 +117,6 @@ module Avo
|
|
110
117
|
if item.is_row?
|
111
118
|
fields << extract_fields(tab)
|
112
119
|
end
|
113
|
-
|
114
|
-
if item.is_main_panel?
|
115
|
-
fields << extract_fields(item)
|
116
|
-
end
|
117
120
|
end
|
118
121
|
|
119
122
|
fields.flatten
|
data/lib/avo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrian Marin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-12-
|
12
|
+
date: 2023-12-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|