{#if isUploading}
{ const errorInfo = errorCount > 0 ? `Upload completed with ${errorCount} error${errorCount > 1 ? 's' : ''}` : 'Upload success'; const type = errorCount > 0 ? NotificationType.Warning : NotificationType.Info; notificationController.show({ message: `${errorInfo}, refresh the page to see new upload assets`, type, }); uploadAssetsStore.errorCounter.set(0); if (duplicateCount > 0) { notificationController.show({ message: `Skipped ${duplicateCount} duplicate picture${duplicateCount > 1 ? 's' : ''}`, type: NotificationType.Warning, }); uploadAssetsStore.duplicateCounter.set(0); } }} class="absolute bottom-6 right-6 z-[10000]" > {#if showDetail}

UPLOADING {$uploadAssetsStore.length}

{#each $uploadAssetsStore as uploadAsset} {#key uploadAsset.id} {/key} {/each}
{:else}
{/if}
{/if}