Generated
+2
-2
@@ -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
@@ -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
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user