avo 3.11.1 → 3.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/components/avo/sidebar/base_item_component.rb +3 -2
- data/lib/avo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9103df42ec2aeea2fe56cc975be0f20e5cde5344c8c3488f0b5b6bfc90f982f
|
4
|
+
data.tar.gz: 8d6b921fdcb8fada66643c080b6e64664607a7af16f5fcbc7bd440ce82637937
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d5fb1d10d91ef6eadeb6a99d9bafc33275484a5bd7ba4d503f7737dabead9237f02fc4e3d97adaab4af625fa7bfac622925120e32d54232e3ba23d9191a1d8a
|
7
|
+
data.tar.gz: 37eca9cc2b36e2f92a652e8749cae8ef45bf3c4eea8636be82b5fc58aefad8d97a877a45fdad9f3c5b05d4c5d267b8da92ec18ecfd5a0a9b6c09f5ade8d6426a
|
data/Gemfile.lock
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
class Avo::Sidebar::BaseItemComponent < Avo::BaseComponent
|
4
|
-
attr_reader :item
|
5
|
-
delegate :
|
4
|
+
attr_reader :item, :items
|
5
|
+
delegate :collapsable, :collapsed, to: :@item
|
6
6
|
|
7
7
|
def initialize(item: nil)
|
8
8
|
@item = item
|
9
|
+
@items = @item.items.select(&:visible?)
|
9
10
|
end
|
10
11
|
|
11
12
|
def render?
|
data/lib/avo/version.rb
CHANGED