Browse Source

fix tautulli api parse error (#1860)

CauseFX 3 years ago
parent
commit
2b3e3593c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/functions.js

+ 1 - 1
js/functions.js

@@ -8468,7 +8468,7 @@ function buildTautulliItem(array){
         var card = '';
         data.forEach(e => {
             let classes = '';
-            if(e['stat_id'] == stat) {
+	        if(e['stat_id'] == stat && e['rows'].length > 0) {
                 if(stat === 'top_platforms') {
                     classes = ' platform-' + e['rows'][0]['platform_name'] + '-rgba';
                 } else {