mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Check the property first
This commit is contained in:
parent
9778f2db65
commit
4aadddd364
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ import { appRouter } from '../../../components/appRouter';
|
|||
view.querySelector('.btnAudio').classList.add('hide');
|
||||
}
|
||||
|
||||
if (currentItem.Chapters.length > 1) {
|
||||
if (currentItem.Chapters?.length > 1) {
|
||||
view.querySelector('.btnPreviousChapter').classList.remove('hide');
|
||||
view.querySelector('.btnNextChapter').classList.remove('hide');
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue