Class: Primer::OpenProject::AvatarStack

Inherits:
Beta::AvatarStack
  • Object
show all
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

Instance Method Details

#avatarsObject

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