Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Quick fix
dominik-zeglen25e556fde867
diff --git a/saleor/static/dashboard/js/components/bulk-actions.js b/saleor/static/dashboard/js/components/bulk-actions.jsindex bc05a2c9b2..6ac9981f53 100644--- a/saleor/static/dashboard/js/components/bulk-actions.js+++ b/saleor/static/dashboard/js/components/bulk-actions.js@@ -41,15 +41,13 @@ function onSubmit (e) {$('#bulk-actions-form').submit();}-function init () {- return $(document).ready(() => {- updateSelectedItemsText();- $('.select-all').on('change', onSelectAll);- $('.switch-actions').on('change', onSwitchActions);- $('.select-item').on('change', updateSelectedItemsText);- $('.bulk-actions a').on('click', onSubmit);- });-}+const init = $(document).ready(() => {+ updateSelectedItemsText();+ $('.select-all').on('change', onSelectAll);+ $('.switch-actions').on('change', onSwitchActions);+ $('.select-item').on('change', updateSelectedItemsText);+ $('.bulk-actions a').on('click', onSubmit);+});export {init as default,