poprawki
This commit is contained in:
1 parent
a3bf47ecc3
commit
0187f1d654
2 files changed
+11
-1
No files matched your search
@@ -81,9 +81,16 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
}
|
||||
|
||||
offset += limit;
|
||||
|
||||
if (productCountDisplay) {
|
||||
productCountDisplay.textContent = `Wyświetlono ${allProducts.length} produktów.`;
|
||||
}
|
||||
|
||||
const statsEl = document.getElementById('massAddProductStats');
|
||||
if (statsEl) {
|
||||
statsEl.textContent = `(${allProducts.length} z ${data.total_count})`;
|
||||
}
|
||||
|
||||
} catch (err) {
|
||||
const loadingEl = productList.querySelector('.loading');
|
||||
if (loadingEl) loadingEl.remove();
|
||||
|
||||
Reference in new issue
Block a user