Sha256: 35a5beb0b2203d3107f8d3c4dd4cf80d37005bce67d6ec480a8edf30bb5830b5

Contents?: true

Size: 178 Bytes

Versions: 39

Compression:

Stored size: 178 Bytes

Contents

# frozen_string_literal: true

class Avo::Fields::FilesField::IndexComponent < Avo::Fields::IndexComponent
  def length
    @length ||= @field.value.attachments.length
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
avo-3.15.1 app/components/avo/fields/files_field/index_component.rb
avo-3.15.0 app/components/avo/fields/files_field/index_component.rb
avo-3.14.5 app/components/avo/fields/files_field/index_component.rb
avo-3.14.4 app/components/avo/fields/files_field/index_component.rb
avo-3.14.3 app/components/avo/fields/files_field/index_component.rb
avo-3.14.2 app/components/avo/fields/files_field/index_component.rb
avo-3.14.1 app/components/avo/fields/files_field/index_component.rb
avo-3.14.0 app/components/avo/fields/files_field/index_component.rb
avo-3.13.7 app/components/avo/fields/files_field/index_component.rb
avo-3.13.6 app/components/avo/fields/files_field/index_component.rb
avo-3.13.5 app/components/avo/fields/files_field/index_component.rb
avo-3.13.4 app/components/avo/fields/files_field/index_component.rb
avo-3.13.3 app/components/avo/fields/files_field/index_component.rb
avo-3.13.2 app/components/avo/fields/files_field/index_component.rb
avo-3.13.1 app/components/avo/fields/files_field/index_component.rb
avo-3.13.0 app/components/avo/fields/files_field/index_component.rb
avo-3.12.0 app/components/avo/fields/files_field/index_component.rb
avo-3.11.10 app/components/avo/fields/files_field/index_component.rb
avo-3.11.9 app/components/avo/fields/files_field/index_component.rb
avo-3.11.8 app/components/avo/fields/files_field/index_component.rb