Skip to content

Commit

Permalink
1.6.1
Browse files Browse the repository at this point in the history
#49 issue with video gallery
  • Loading branch information
alangrainger committed Jan 12, 2025
1 parent 2cb4924 commit a309589
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

<p align="center" width="100%">
<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">
<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>
</p>

Expand Down
4 changes: 2 additions & 2 deletions app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
3 changes: 1 addition & 2 deletions app/public/web.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -74,6 +72,7 @@ class LGallery {
<img alt="" src="${item.thumbnailUrl}"/></a>`)
}
})
this.index += numberOfItems
this.lightGallery.refresh()
}
}
Expand Down

0 comments on commit a309589

Please sign in to comment.