mirror of
https://github.com/immich-app/immich.git
synced 2025-12-20 17:25:35 +03:00
fix(web): show warning if upload completed with errors (#3634)
This commit is contained in:
@@ -4,6 +4,7 @@ import type { UploadAsset } from '../models/upload-asset';
|
||||
function createUploadStore() {
|
||||
const uploadAssets = writable<Array<UploadAsset>>([]);
|
||||
const duplicateCounter = writable(0);
|
||||
const errorCounter = writable(0);
|
||||
|
||||
const { subscribe } = uploadAssets;
|
||||
|
||||
@@ -36,6 +37,7 @@ function createUploadStore() {
|
||||
|
||||
return {
|
||||
subscribe,
|
||||
errorCounter,
|
||||
duplicateCounter,
|
||||
isUploading,
|
||||
addNewUploadAsset,
|
||||
|
||||
Reference in New Issue
Block a user