Minor fix
This commit is contained in:
parent
4133b4f56c
commit
22f3a767a8
@ -6,6 +6,8 @@ component AnimeEditorList(animes []*arn.Anime, generateSearchLink func(*arn.Anim
|
||||
th Title
|
||||
th Type
|
||||
th Year
|
||||
|
||||
if generateSearchLink != nil
|
||||
th Tools
|
||||
tbody
|
||||
each anime in animes
|
||||
@ -17,5 +19,7 @@ component AnimeEditorList(animes []*arn.Anime, generateSearchLink func(*arn.Anim
|
||||
td
|
||||
if len(anime.StartDate) >= 4
|
||||
span= anime.StartDate[:4]
|
||||
|
||||
if generateSearchLink != nil
|
||||
td
|
||||
a(href=generateSearchLink(anime), target="_blank", rel="noopener") Search
|
@ -34,7 +34,5 @@ func Genres(ctx *aero.Context) string {
|
||||
missing = missing[:maxGenreEntries]
|
||||
}
|
||||
|
||||
return ctx.HTML(components.AnimeWithoutGenres(missing, func(anime *arn.Anime) string {
|
||||
return ""
|
||||
}))
|
||||
return ctx.HTML(components.AnimeWithoutGenres(missing, nil))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user