m-a-k-o / nova-custom-table-card

Simple Nova Card for Custom Tables
MIT License
46 stars 26 forks source link

Defer the query until the component is loaded #37

Open bkuhl opened 1 year ago

bkuhl commented 1 year ago

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.