Skip to content

Commit

Permalink
Merge pull request #275 from Ferlab-Ste-Justine/fix/SKIP-413/protable…
Browse files Browse the repository at this point in the history
…-spinner

fix(protable): SJIP-413 fix loading props regression
  • Loading branch information
lflangis authored May 8, 2023
2 parents dad147e + e70ed80 commit 51d23fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ferlab/ui",
"version": "7.0.0",
"version": "7.0.1",
"description": "Core components for scientific research data portals",
"publishConfig": {
"access": "public"
Expand Down
1 change: 1 addition & 0 deletions packages/ui/src/components/ProTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ const ProTable = <RecordType extends object & { key: string } = any>({
.map(({ key }) => columns.find((column) => column.key === key))
.filter(isProColumnsType)
.map(generateColumnTitle)}
loading={loading}
locale={{
emptyText: (
<Empty description={dictionary.table?.emptyText || 'No available data'} size="mini" />
Expand Down

0 comments on commit 51d23fe

Please sign in to comment.