Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
1afa2d67c0
commit
e7f1c4c969
@@ -989,6 +989,15 @@ function ImportPage() {
|
||||
{cfg.label}
|
||||
</CardTitle>
|
||||
<p className="text-xs text-muted-foreground mt-1">{cfg.description}</p>
|
||||
{!r && lastRuns[cfg.key] && (
|
||||
<p className="text-xs text-muted-foreground mt-1.5">
|
||||
Last import:{" "}
|
||||
{new Date(lastRuns[cfg.key].ran_at).toLocaleString()} —{" "}
|
||||
{lastRuns[cfg.key].inserted} of {lastRuns[cfg.key].total} imported
|
||||
{lastRuns[cfg.key].skipped > 0 ? `, ${lastRuns[cfg.key].skipped} skipped` : ""}
|
||||
{lastRuns[cfg.key].error_count > 0 ? `, ${lastRuns[cfg.key].error_count} error(s)` : ""}
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
<div className="shrink-0 flex items-center gap-2">
|
||||
{cfg.key === "contacts" && (
|
||||
|
||||
Reference in New Issue
Block a user