fix(ui): stabilize live progress counters

This commit is contained in:
Diego Fabricio authored and GitHub committed 2026-08-15 14:41:54 +08:00
1 parent 356127f0e3
commit 6a2000deff
9 files changed
+14 -14

No files matched your search

@@ -893,7 +893,7 @@ watch(
<div v-else class="h-full rounded-full transition-[width] duration-300" :class="exportError ? 'bg-destructive' : exportCancelled ? 'bg-yellow-500' : exportDone ? 'bg-green-500' : 'bg-primary'" :style="{ width: `${exportDone ? 100 : progressPercent}%` }" />
</div>
<div v-if="exportProgress && !isPreparingExport" class="text-xs text-muted-foreground">
<div v-if="exportProgress && !isPreparingExport" class="text-xs text-muted-foreground tabular-nums">
{{ exportAllDatabases ? t("databaseExport.allRowsExported", { count: exportProgress.rowsExported.toLocaleString() }) : t("databaseExport.rowsExported", { current: exportProgress.objectIndex, total: exportProgress.totalObjects, count: exportProgress.rowsExported.toLocaleString() }) }}
</div>
<div v-if="exportElapsedText" class="text-xs text-muted-foreground tabular-nums">