fix(export): show progress while preparing database export

This commit is contained in:
Freedom authored and GitHub committed 2026-07-29 14:43:07 +08:00
1 parent 8841a41261
commit a4352d6560
13 files changed
+210 -68

No files matched your search

@@ -94,6 +94,7 @@ pub async fn start_database_export(
total_rows: None,
status: ExportStatus::Error,
error: Some(e.clone()),
preparing: false,
};
if let Ok(json) = serde_json::to_string(&progress) {
let _ = tx.send(json);