null check for datatable state

This commit is contained in:
gabryon99 2020-06-24 21:11:55 +02:00
parent e2e1c965df
commit ba71366199
3 changed files with 3 additions and 2 deletions

View file

@ -155,6 +155,7 @@ class DataTableUtils {
*/
static setCurrentFilter(tableAPI) {
if (!tableAPI.state) return;
if (!tableAPI.state.loaded()) return;
if (!tableAPI.state.loaded().filters) return;