Sha256: f91c5c906fcbce56f82ecd4f0ab7e30ce5596d61a5b2be74885c12f174d44fc3

Contents?: true

Size: 203 Bytes

Versions: 47

Compression:

Stored size: 203 Bytes

Contents

# frozen_string_literal: true

class Avo::ProfilePhotoComponent < Avo::BaseComponent
  prop :profile_photo

  def render?
    @profile_photo.present? && @profile_photo.visible_in_current_view?
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
avo-3.18.1.tw4 app/components/avo/profile_photo_component.rb
avo-3.18.1 app/components/avo/profile_photo_component.rb
avo-3.18.0.tw4 app/components/avo/profile_photo_component.rb
avo-3.18.0 app/components/avo/profile_photo_component.rb
avo-3.17.9.beta2 app/components/avo/profile_photo_component.rb
avo-3.17.9.beta1 app/components/avo/profile_photo_component.rb
avo-3.17.9.tw4 app/components/avo/profile_photo_component.rb
avo-3.17.9 app/components/avo/profile_photo_component.rb
avo-3.17.8.tw4 app/components/avo/profile_photo_component.rb
avo-3.17.8 app/components/avo/profile_photo_component.rb
avo-3.17.7 app/components/avo/profile_photo_component.rb
avo-3.17.6.tw4 app/components/avo/profile_photo_component.rb
avo-3.17.6 app/components/avo/profile_photo_component.rb
avo-3.17.5 app/components/avo/profile_photo_component.rb
avo-3.17.4 app/components/avo/profile_photo_component.rb
avo-3.17.3 app/components/avo/profile_photo_component.rb
avo-3.17.5.tw4 app/components/avo/profile_photo_component.rb
avo-3.17.4.tw4 app/components/avo/profile_photo_component.rb
avo-3.17.3.tw4 app/components/avo/profile_photo_component.rb
avo-3.17.2.tw4 app/components/avo/profile_photo_component.rb