Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix 'n items selected' counter
dominik-zeglen4391babdcf51
diff --git a/saleor/static/dashboard/js/components/bulk-actions.js b/saleor/static/dashboard/js/components/bulk-actions.jsindex c598849de8..a830b68ef7 100644--- a/saleor/static/dashboard/js/components/bulk-actions.js+++ b/saleor/static/dashboard/js/components/bulk-actions.js@@ -1,5 +1,5 @@function updateHeader () {- const count = $('.select-item:checked').length;+ const count = $('.select-item:checked').length - $('#select-all-products:checked').length;const $counterTextNode = $('.data-table-header-action-selected-items');const $header = $('.data-table-header-alternative');const counterText = ngettext('item selected', 'items selected', count);