When using the "Select all" checkbox in the Discounts module, it appears to count the selected items correctly but does not visually check the boxes for the individual discounts. As a result, users can still check or uncheck discounts individually, even after using the "Select all" option. This behavior could lead to confusion and might cause unintended selections during bulk actions such as activating or deactivating discounts.
Steps to reproduce:
  1. Navigate to the app home page.
  2. Click the "Select all" checkbox.
  3. Observe that although the system counts the discounts as selected, the checkboxes for individual discounts are not checked.
  4. Users can still manually select or deselect individual discounts.
Expected behavior:
The "Select all" checkbox should visually check all individual discount boxes and prevent further individual selection unless "Select all" is unchecked.