2018-03-14 19:13:20 +00:00
|
|
|
component AnimeListItems(animeListItems []*arn.AnimeListItem, nextIndex int, viewUser *arn.User, user *arn.User)
|
|
|
|
if len(animeListItems) == 0
|
2018-11-06 05:43:36 +00:00
|
|
|
if user != nil && user.ID == viewUser.ID
|
|
|
|
p.no-data.mountable= "You haven't added any anime to this list yet."
|
|
|
|
else
|
|
|
|
p.no-data.mountable= viewUser.Nick + " hasn't added any anime to this list yet."
|
2018-03-14 19:13:20 +00:00
|
|
|
else
|
|
|
|
.anime-list-container
|
|
|
|
AnimeList(animeListItems, nextIndex, viewUser, user)
|