From 0042fadcb0aa909bc28e7b2551c9464bd1383c04 Mon Sep 17 00:00:00 2001 From: Qstick Date: Wed, 8 Apr 2020 21:31:47 -0400 Subject: [PATCH] Fixed: Don't try to render quality when it's null Co-Authored-By: Mark McDowall --- frontend/src/Movie/MovieQuality.js | 4 ++++ frontend/src/Store/Actions/releaseActions.js | 16 +++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/frontend/src/Movie/MovieQuality.js b/frontend/src/Movie/MovieQuality.js index f54dbea5b..818bbfc5a 100644 --- a/frontend/src/Movie/MovieQuality.js +++ b/frontend/src/Movie/MovieQuality.js @@ -45,6 +45,10 @@ function MovieQuality(props) { kind = kinds.INVERSE; } + if (!quality) { + return null; + } + return (