{#if $isUploading}
{ if ($stats.errors > 0) { notificationController.show({ message: $t('upload_errors', { values: { count: $stats.errors } }), type: NotificationType.Warning, }); } else if ($stats.success > 0) { notificationController.show({ message: $t('upload_success'), type: NotificationType.Info, }); } if ($stats.duplicates > 0) { notificationController.show({ message: $t('upload_skipped_duplicates', { values: { count: $stats.duplicates } }), type: NotificationType.Warning, }); } uploadAssetsStore.reset(); }} class="fixed bottom-6 end-16" > {#if showDetail}

{$t('upload_progress', { values: { remaining: $remainingUploads, processed: $stats.total - $remainingUploads, total: $stats.total, }, })}

{$t('upload_status_uploaded')} {$stats.success.toLocaleString($locale)} - {$t('upload_status_errors')} {$stats.errors.toLocaleString($locale)} - {$t('upload_status_duplicates')} {$stats.duplicates.toLocaleString($locale)}

(showOptions = !showOptions)} aria-label={$t('toggle_settings')} /> (showDetail = false)} />
{#if $isDismissible} uploadAssetsStore.dismissErrors()} /> {/if}
{#if showOptions}
(uploadExecutionQueue.concurrency = concurrency)} />
{/if}
{#each $uploadAssetsStore as uploadAsset (uploadAsset.id)} {/each}
{:else}
{#if $stats.errors > 0} {/if}
{/if}
{/if}