Fixed character links when MAL ID is missing
This commit is contained in:
parent
1dfd15f691
commit
09c97356de
@ -79,10 +79,10 @@ component CharacterDetails(character *arn.Character, characterAnime []*arn.Anime
|
||||
.inactive-user
|
||||
Avatar(friend)
|
||||
|
||||
if character.GetMapping("myanimelist/character") != ""
|
||||
h3.mountable Links
|
||||
|
||||
.light-button-group.mountable
|
||||
if character.GetMapping("myanimelist/character") != ""
|
||||
a.light-button(href="https://myanimelist.net/character/" + character.GetMapping("myanimelist/character"), target="_blank", rel="noopener")
|
||||
Icon("external-link")
|
||||
span MAL
|
||||
|
Loading…
Reference in New Issue
Block a user