mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
feat(web): Update to latest version of SvelteKit (#705)
This commit is contained in:
parent
75c2067836
commit
0d13b25f56
14 changed files with 5522 additions and 2273 deletions
|
|
@ -25,7 +25,7 @@
|
|||
notificationController,
|
||||
NotificationType
|
||||
} from '../shared-components/notification/notification';
|
||||
import { browser } from '$app/env';
|
||||
import { browser } from '$app/environment';
|
||||
import { albumAssetSelectionStore } from '$lib/stores/album-asset-selection.store';
|
||||
|
||||
export let album: AlbumResponseDto;
|
||||
|
|
@ -69,9 +69,9 @@
|
|||
$: isMultiSelectionMode = multiSelectAsset.size > 0;
|
||||
|
||||
afterNavigate(({ from }) => {
|
||||
backUrl = from?.pathname ?? '/albums';
|
||||
backUrl = from?.url.pathname ?? '/albums';
|
||||
|
||||
if (from?.pathname === '/sharing') {
|
||||
if (from?.url.pathname === '/sharing') {
|
||||
isCreatingSharedAlbum = true;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue