Skip to content

Commit

Permalink
fix(Datagrid): dynamic nested rows skeleton always showing regardless…
Browse files Browse the repository at this point in the history
… of dynamic prop being set
  • Loading branch information
amal-k-joy committed Sep 19, 2024
1 parent 4ceb075 commit 07d8cc0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ const useNestedRowExpander = (hooks) => {
depth: row.depth,
index: row.index,
});
await getAsyncSubRows?.(row);
if(getAsyncSubRows){
await getAsyncSubRows?.(row);
}
handleDynamicRowCheck({
dispatch,
status: 'finish',
Expand Down

0 comments on commit 07d8cc0

Please sign in to comment.