#49 issue with video gallery
This commit is contained in:
Alan Grainger
2025-01-12 08:15:03 +08:00
parent 2cb492470f
commit a3095897ef
4 changed files with 6 additions and 7 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "immich-public-proxy",
"version": "1.6.0",
"version": "1.6.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "immich-public-proxy",
"version": "1.6.0",
"version": "1.6.1",
"license": "AGPL-3.0",
"dependencies": {
"archiver": "^7.0.1",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "immich-public-proxy",
"version": "1.6.0",
"version": "1.6.1",
"scripts": {
"dev": "ts-node src/index.ts",
"build": "npx tsc",
+1 -2
View File
@@ -58,8 +58,6 @@ class LGallery {
loadMoreItems () {
const numberOfItems = 80
if (this.index < this.items.length) {
this.index += numberOfItems
// Append new thumbnails
this.items
.slice(this.index, this.index + numberOfItems)
@@ -74,6 +72,7 @@ class LGallery {
<img alt="" src="${item.thumbnailUrl}"/></a>`)
}
})
this.index += numberOfItems
this.lightGallery.refresh()
}
}