 export class Header extends React.Component
   favouritesToShow: 50
 
+
+  constructor: (props) ->
+    super props
+
+    @filteredFavourites = []
+
+
   hasAvailabilityInfo: =>
     @props.beatmapset.availability.download_disabled || @props.beatmapset.availability.more_information?
 

        effect: -> $(this).fadeTo(250, 0)

  render: ->
    favouriteButton =
      if @props.hasFavourited
        action: 'unfavourite'

              className: 'user-list-popup user-list-popup__template'
              style:
                display: 'none'
              @filteredFavourites.map (user) ->
                a
                  href: laroute.route('users.show', user: user.id)
                  className: 'js-usercard user-list-popup__user'
                  key: user.id
                  'data-user-id': user.id
                  el UserAvatar, user: user, modifiers: ['full']
              if @props.favcount > @filteredFavourites.length
                div className: 'user-list-popup__remainder-count',
                  osu.transChoice 'common.count.plus_others', @props.favcount - @filteredFavourites.length

          a
            className: 'beatmapset-header__details-text beatmapset-header__details-text--title'
