mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge branch 'master' into hadicharara/added-support-for-rtl-layouts
This commit is contained in:
commit
104ad71ea7
128 changed files with 1242 additions and 1454 deletions
|
@ -5,15 +5,9 @@ import './indicators.scss';
|
|||
import 'material-design-icons-iconfont';
|
||||
|
||||
export function enableProgressIndicator(item) {
|
||||
if (item.MediaType === 'Video' && item.Type !== 'TvChannel') {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (item.Type === 'AudioBook' || item.Type === 'AudioPodcast') {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
return (item.MediaType === 'Video' && item.Type !== 'TvChannel')
|
||||
|| item.Type === 'AudioBook'
|
||||
|| item.Type === 'AudioPodcast';
|
||||
}
|
||||
|
||||
export function getProgressHtml(pct, options) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue