Boards components.
This commit is contained in:
1 parent
7edddf15a7
commit
a39ebffd8b
20 files changed
+450
-33
No files matched your search
@@ -76,7 +76,7 @@ export function DataGrid({
|
||||
</Row>
|
||||
)}
|
||||
<LoadingPanel
|
||||
data={data}
|
||||
data={data?.data}
|
||||
isLoading={isLoading}
|
||||
isFetching={isFetching}
|
||||
error={error}
|
||||
|
||||
@@ -29,6 +29,8 @@ export function LoadingPanel({
|
||||
}: LoadingPanelProps): ReactNode {
|
||||
const empty = isEmpty ?? checkEmpty(data);
|
||||
|
||||
console.log({ empty, isEmpty, data });
|
||||
|
||||
// Show loading spinner only if no data exists
|
||||
if (isLoading || isFetching) {
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user