Updated import and fixed race condition

This commit is contained in:
rdiaz738
2026-04-20 17:24:16 -07:00
parent e9f979b349
commit 0ea934c08f
3 changed files with 43 additions and 36 deletions
+11
View File
@@ -608,6 +608,17 @@
@if (batchImportStatus) {
<small>{{ batchImportStatus }}</small>
}
@if (importInProgress) {
<div class="progress mt-2" style="height: 20px;">
<div class="progress-bar" role="progressbar"
[style.width.%]="batchImportTotal > 0 ? (batchImportCount / batchImportTotal) * 100 : 0"
[attr.aria-valuenow]="batchImportCount"
[attr.aria-valuemin]="0"
[attr.aria-valuemax]="batchImportTotal">
{{ batchImportCount }} / {{ batchImportTotal }}
</div>
</div>
}
</div>
</div>
<div class="modal-footer">