From c080b337c7bfe5b3cec6bf26beedd99970646142 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sun, 3 Jun 2018 09:13:59 +0900 Subject: [PATCH] Fixed AMV page rendering bug --- .travis.yml | 4 ---- pages/amv/amv.pixy | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8c46129c..b8367725 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,10 +20,6 @@ matrix: # tests pass on the stable versions of Go. fast_finish: true -# Don't email me the results of the test runs. -notifications: - email: false - # Anything in before_script that returns a nonzero exit code will # flunk the build and immediately stop. It's sorta like having # set -e enabled in bash. diff --git a/pages/amv/amv.pixy b/pages/amv/amv.pixy index eddaf81e..69dac407 100644 --- a/pages/amv/amv.pixy +++ b/pages/amv/amv.pixy @@ -14,7 +14,7 @@ component AMVPage(amv *arn.AMV, user *arn.User) .widget h3.widget-title.mountable Anime - if amv.MainAnimeID != "" + if amv.MainAnimeID != "" && amv.MainAnime() != nil .amv-main-anime.mountable AnimeGrid([]*arn.Anime{amv.MainAnime()}, user)