@@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
<p align="center" width="100%">
|
<p align="center" width="100%">
|
||||||
<a href="https://hub.docker.com/r/alangrainger/immich-public-proxy/tags">
|
<a href="https://hub.docker.com/r/alangrainger/immich-public-proxy/tags">
|
||||||
<img alt="Docker pulls" src="https://badgen.net/docker/pulls/alangrainger/immich-public-proxy?v1.6.0&icon=docker&label=docker%20pulls&color=green&scale=1.1"></a>
|
<img alt="Docker pulls" src="https://badgen.net/docker/pulls/alangrainger/immich-public-proxy?v1.6.1&icon=docker&label=docker%20pulls&color=green&scale=1.1"></a>
|
||||||
<a href="https://github.com/alangrainger/immich-public-proxy/releases/latest">
|
<a href="https://github.com/alangrainger/immich-public-proxy/releases/latest">
|
||||||
<img alt="Latest release" src="https://badgen.net/static/release/v1.6.0/blue?scale=1.1"></a>
|
<img alt="Latest release" src="https://badgen.net/static/release/v1.6.1/blue?scale=1.1"></a>
|
||||||
<a href="https://immich-demo.note.sx/share/gJfs8l4LcJJrBUpjhMnDoKXFt1Tm5vKXPbXl8BgwPtLtEBCOOObqbQdV5i0oun5hZjQ"><img alt="Open demo gallery" src="https://badgen.net/static/↗🖼️/live%20demo/green?scale=1.1"></a>
|
<a href="https://immich-demo.note.sx/share/gJfs8l4LcJJrBUpjhMnDoKXFt1Tm5vKXPbXl8BgwPtLtEBCOOObqbQdV5i0oun5hZjQ"><img alt="Open demo gallery" src="https://badgen.net/static/↗🖼️/live%20demo/green?scale=1.1"></a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "immich-public-proxy",
|
"name": "immich-public-proxy",
|
||||||
"version": "1.6.0",
|
"version": "1.6.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "immich-public-proxy",
|
"name": "immich-public-proxy",
|
||||||
"version": "1.6.0",
|
"version": "1.6.1",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"archiver": "^7.0.1",
|
"archiver": "^7.0.1",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "immich-public-proxy",
|
"name": "immich-public-proxy",
|
||||||
"version": "1.6.0",
|
"version": "1.6.1",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "ts-node src/index.ts",
|
"dev": "ts-node src/index.ts",
|
||||||
"build": "npx tsc",
|
"build": "npx tsc",
|
||||||
|
|||||||
+1
-2
@@ -58,8 +58,6 @@ class LGallery {
|
|||||||
loadMoreItems () {
|
loadMoreItems () {
|
||||||
const numberOfItems = 80
|
const numberOfItems = 80
|
||||||
if (this.index < this.items.length) {
|
if (this.index < this.items.length) {
|
||||||
this.index += numberOfItems
|
|
||||||
|
|
||||||
// Append new thumbnails
|
// Append new thumbnails
|
||||||
this.items
|
this.items
|
||||||
.slice(this.index, this.index + numberOfItems)
|
.slice(this.index, this.index + numberOfItems)
|
||||||
@@ -74,6 +72,7 @@ class LGallery {
|
|||||||
<img alt="" src="${item.thumbnailUrl}"/></a>`)
|
<img alt="" src="${item.thumbnailUrl}"/></a>`)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
this.index += numberOfItems
|
||||||
this.lightGallery.refresh()
|
this.lightGallery.refresh()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user