mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
move sync repository to portable project
This commit is contained in:
parent
374a543064
commit
aee170bed7
3 changed files with 5 additions and 5 deletions
|
@ -17,11 +17,12 @@
|
|||
var item = result.Items[i];
|
||||
|
||||
var itemStartDate = datetime.parseISO8601Date(item.StartDate);
|
||||
|
||||
if (!currentStartDate || !isSameDay(currentStartDate, itemStartDate)) {
|
||||
|
||||
if (currentItems.length) {
|
||||
|
||||
html += '<h1>' + datetime.toLocaleDateString(itemStartDate, { weekday: 'long', month: 'long', day: 'numeric' }) + '</h1>';
|
||||
html += '<h1>' + datetime.toLocaleDateString(currentStartDate, { weekday: 'long', month: 'long', day: 'numeric' }) + '</h1>';
|
||||
|
||||
html += '<div is="emby-itemscontainer" class="vertical-list">' + listView.getListViewHtml({
|
||||
items: currentItems,
|
||||
|
@ -37,7 +38,6 @@
|
|||
|
||||
currentStartDate = itemStartDate;
|
||||
currentItems = [];
|
||||
|
||||
}
|
||||
|
||||
currentItems.push(item);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue