Separate toggle and hide logic
This commit is contained in:
@ -4,7 +4,7 @@ component ExploreAnime(animes []*arn.Anime, year string, season string, status s
|
||||
|
||||
.corner-buttons-hide-on-mobile
|
||||
if user != nil
|
||||
button.action(data-trigger="click", data-action="hideAddedAnime", title="Hide anime in my collection")
|
||||
button.action(data-trigger="click", data-action="toggleHideAddedAnime", title="Hide anime in my collection")
|
||||
RawIcon("eye-slash")
|
||||
|
||||
a.button(href="/halloffame", title="Hall of Fame")
|
||||
|
Reference in New Issue
Block a user