Skip to content

Commit

Permalink
Closes #199 - Now, while the table preview file is loaded, the messag…
Browse files Browse the repository at this point in the history
…e 'Loading...' is displayed instead of 'No rows'
  • Loading branch information
jandsonrj committed Sep 13, 2023
1 parent cb70929 commit cc1a766
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/components/ProductDataGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ export default function ProductDataGrid(props) {
loading={isLoading}
disableColumnMenu
disableColumnSelector
localeText={{
noRowsLabel: isLoading ? 'No rows' : 'Loading...',
}}
/>
)}
</>
Expand Down

0 comments on commit cc1a766

Please sign in to comment.