mirror of
https://github.com/immich-app/immich.git
synced 2025-12-20 17:25:35 +03:00
* fix(web): show warning on duplicate uploads #2557 * Prettier fix * color --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
@@ -3,6 +3,7 @@ import type { UploadAsset } from '../models/upload-asset';
|
||||
|
||||
function createUploadStore() {
|
||||
const uploadAssets = writable<Array<UploadAsset>>([]);
|
||||
const duplicateCounter = writable(0);
|
||||
|
||||
const { subscribe } = uploadAssets;
|
||||
|
||||
@@ -35,6 +36,7 @@ function createUploadStore() {
|
||||
|
||||
return {
|
||||
subscribe,
|
||||
duplicateCounter,
|
||||
isUploading,
|
||||
addNewUploadAsset,
|
||||
updateProgress,
|
||||
|
||||
Reference in New Issue
Block a user