Skip to content

Commit

Permalink
Prevent "undefined" label into tiles view (e.g. for Plex app)
Browse files Browse the repository at this point in the history
  • Loading branch information
brunix86 authored Oct 17, 2024
1 parent 467bf04 commit 5fff945
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions wwwroot/js/smartapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,9 @@ class SmartApp
else {
this.setItemClass(eleItem, 'db-basic');
}
ele.innerHTML = content;
if (content !== 'undefined') {
ele.innerHTML = content;
}
}

initialCarouselContent(content){
Expand Down Expand Up @@ -450,4 +452,4 @@ class SmartApp
options: options
});
}
}
}

0 comments on commit 5fff945

Please sign in to comment.