Skip to content

Commit

Permalink
Add check is last not empty contend isEmpty() (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeYvas authored Sep 26, 2024
1 parent 31fd84b commit 6ec84bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QueryBuilder/ResultViewer/ResultViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export const ResultViewer = ({
);

const renderTable = () => {
const showSpinner = !lastNotEmptyContent && isListLoading && isEmpty(contentData);
const showSpinner = isEmpty(lastNotEmptyContent) && (isListLoading || isContentDataLoading) && isEmpty(contentData);

return (
<Row center="xs">
Expand Down

0 comments on commit 6ec84bb

Please sign in to comment.