Reduced character component complexity

This commit is contained in:
Eduard Urbach 2018-04-26 20:19:27 +02:00
parent b6b6f22af6
commit 1f0adabde2

View File

@ -56,6 +56,9 @@ component CharacterDetails(character *arn.Character, characterAnime []*arn.Anime
if mainQuote == nil || quote.ID != mainQuote.ID
Quote(quote, user)
CharacterSidebar(character, friends, relevantCharacters, user)
component CharacterSidebar(character *arn.Character, friends []*arn.User, relevantCharacters []*arn.Character, user *arn.User)
.character-sidebar
if len(character.Attributes) > 0
h3.mountable Information