From 10300c4a675b4af7496b040016346715e685fe7e Mon Sep 17 00:00:00 2001 From: Carlos Guerra Date: Mon, 14 Oct 2024 16:01:13 -0600 Subject: [PATCH] Fix for #1452 Missing MessageRow "No records found" after call forceRender and where data is empty (tbody is empty). When calling render the data load ends with "Rendered" status When calling forceRender the data load ends with "Loaded" status instead of "Rendered" This are two scenarios which we may want to show "No records found", so is added as a valid status to show the MessageRow and now it shows correctly with render and forceRender --- src/view/table/tbody.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view/table/tbody.tsx b/src/view/table/tbody.tsx index 470518e8..26df8194 100644 --- a/src/view/table/tbody.tsx +++ b/src/view/table/tbody.tsx @@ -37,7 +37,7 @@ export function TBody() { /> )} - {status === Status.Rendered && data && data.length === 0 && ( + {(status === Status.Rendered || status === Status.Loaded) && data && data.length === 0 && (