You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For anyone who comes across this in the future, the problem lies in the getTransactions function in the client controller. The total transactions returned is zero (0) which affects rowCount prop on the Data grid component on the frontend.
use this: const total = await Transaction.countDocuments();
instead of this: const total = await Transaction.countDocuments({ name: { $regex: search, $options: "i" }, });
In the Data-grid pages are not changing #15 i tried changing the version didn't work
The text was updated successfully, but these errors were encountered: