1
0
mirror of https://github.com/immich-app/immich.git synced 2025-06-17 03:47:45 +02:00

Fixed upload asset to album in asset selection (#579)

* Fixed error uploading a file from album

* Fixed album selection mode show viewing asset stage

* Navigate back after uploading asset to album
This commit is contained in:
Alex
2022-09-05 00:18:53 -05:00
committed by GitHub
parent 172eda3ce5
commit 6976a7241e
8 changed files with 46 additions and 13 deletions

View File

@ -5,7 +5,9 @@
import CloudUploadOutline from 'svelte-material-icons/CloudUploadOutline.svelte';
import WindowMinimize from 'svelte-material-icons/WindowMinimize.svelte';
import type { UploadAsset } from '$lib/models/upload-asset';
// import { getAssetsInfo } fro$lib/stores/assets.storeets';
import { goto } from '$app/navigation';
import { assetStore } from '$lib/stores/assets.store';
import { notificationController, NotificationType } from './notification/notification';
let showDetail = true;
let uploadLength = 0;
@ -84,7 +86,10 @@
in:fade={{ duration: 250 }}
out:fade={{ duration: 250, delay: 1000 }}
on:outroend={() => {
// getAssetsInfo()
notificationController.show({
message: 'Upload success, refresh the page to see new upload assets',
type: NotificationType.Info
});
}}
class="absolute right-6 bottom-6 z-[10000]"
>