feat(export): show selected count on batch export button

This commit is contained in:
tisonhuang
2026-03-05 10:16:51 +08:00
parent 3c231a7fde
commit 3062295069
2 changed files with 26 additions and 11 deletions

View File

@@ -3984,14 +3984,16 @@ function ExportPage() {
>
</button>
<button
className="selection-export-btn"
type="button"
onClick={openBatchExport}
disabled={selectedCount === 0}
>
</button>
{selectedCount > 0 && (
<button
className="selection-export-btn"
type="button"
onClick={openBatchExport}
>
<span></span>
<span className="selection-export-count">{selectedCount}</span>
</button>
)}
</div>
<div className="contacts-list-header">
<span className="contacts-list-header-select"></span>