mirror of
https://github.com/immich-app/immich.git
synced 2025-12-06 09:13:13 +03:00
chore: cleanup web (#23866)
This commit is contained in:
@@ -205,12 +205,10 @@
|
||||
}
|
||||
const scrollTarget = $gridScrollTarget?.at;
|
||||
let scrolled = false;
|
||||
console.log(scrollTarget, scrolled);
|
||||
if (scrollTarget) {
|
||||
scrolled = await scrollAndLoadAsset(scrollTarget);
|
||||
}
|
||||
if (!scrolled) {
|
||||
console.log('scrolling?');
|
||||
// if the asset is not found, scroll to the top
|
||||
timelineManager.scrollTo(0);
|
||||
}
|
||||
@@ -226,7 +224,6 @@
|
||||
// and a new route is being navigated to. It will never be called on direct
|
||||
// navigations by the browser.
|
||||
beforeNavigate(({ from, to }) => {
|
||||
console.log('before navigate');
|
||||
timelineManager.suspendTransitions = true;
|
||||
const isNavigatingToAssetViewer = isAssetViewerRoute(to);
|
||||
const isNavigatingFromAssetViewer = isAssetViewerRoute(from);
|
||||
|
||||
Reference in New Issue
Block a user