The documentation shows the cards() should actually perform the db query and populate the data. This is a problem, because these queries run when the Dashboard itself is loaded. Please adjust this to be consistent with other widgets, where the data is loaded via ajax request.
The documentation shows the
cards()
should actually perform the db query and populate the data. This is a problem, because these queries run when the Dashboard itself is loaded. Please adjust this to be consistent with other widgets, where the data is loaded via ajax request.