olton / Metro-UI-CSS

Impressive component library for expressive web development! Build responsive projects on the web with the first front-end component library in Metro Style. And now there are even more opportunities every day!
http://metroui.org.ua/
MIT License
7.04k stars 1.96k forks source link

[fix bug] Fixed uninitialized variable that prevented select-all in tables #1912

Closed ErikPoppleton closed 1 year ago

ErikPoppleton commented 1 year ago

The data variable was uninitialized for the useCurrentSlice == false case in the .table-service-select-all function. This caused an unhandled exception which prevented using the select-all box. This pull request initialized this variable as it was before the useCurrentSlice update.

Fixes a bug created by the changes made in response to #1778