mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
fix: back/forward navigation won't reset scroll in timeline (#22838)
* fix: back/forward navigation won't reset scroll in timeline Fixes a bug where navigating to/from the asser-viewer from timeline causes the scroll position to be reset. * Fix back after assetviewer next/prev navigation * Bug fix from review * review comments
This commit is contained in:
parent
382481735a
commit
c666dc6c67
4 changed files with 117 additions and 64 deletions
|
|
@ -107,7 +107,7 @@ export class StorageRepository {
|
|||
const file = await fs.open(filepath);
|
||||
try {
|
||||
const { buffer } = await file.read(options);
|
||||
return buffer;
|
||||
return buffer as Buffer;
|
||||
} finally {
|
||||
await file.close();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue