mirror of
https://github.com/alexta69/metube.git
synced 2026-09-21 21:45:04 +00:00
Updated import and fixed race condition
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user