Class: Primer::OpenProject::AvatarStack
- Inherits:
-
Beta::AvatarStack
- Object
- Beta::AvatarStack
- Primer::OpenProject::AvatarStack
- Defined in:
- app/components/primer/open_project/avatar_stack.rb
Overview
OpenProject-specific AvatarStack that extends Primer::Beta::AvatarStack to support avatar fallbacks with initials.
Uses a different slot name (avatar_with_fallbacks) to avoid conflicts with the parent's avatars slot.
Instance Method Summary collapse
-
#avatars ⇒ Object
Alias avatar_with_fallbacks as avatars for use in the template.
Instance Method Details
#avatars ⇒ Object
Alias avatar_with_fallbacks as avatars for use in the template
18 19 20 |
# File 'app/components/primer/open_project/avatar_stack.rb', line 18 def avatars avatar_with_fallbacks end |