This commit is contained in:
Alex Shnitman
2026-04-21 16:13:58 +03:00
parent 0ea934c08f
commit 23de9824f0
3 changed files with 107 additions and 32 deletions
+5 -3
View File
@@ -608,10 +608,12 @@
@if (batchImportStatus) {
<small>{{ batchImportStatus }}</small>
}
@if (importInProgress) {
@if (batchImportTotal > 0) {
<div class="progress mt-2" style="height: 20px;">
<div class="progress-bar" role="progressbar"
[style.width.%]="batchImportTotal > 0 ? (batchImportCount / batchImportTotal) * 100 : 0"
<div class="progress-bar"
[class.bg-danger]="batchImportFailures > 0"
role="progressbar"
[style.width.%]="(batchImportCount / batchImportTotal) * 100"
[attr.aria-valuenow]="batchImportCount"
[attr.aria-valuemin]="0"
[attr.aria-valuemax]="batchImportTotal">