diff --git a/packages/main/src/components/AnalyticalTable/AnalyticalTable.stories.mdx b/packages/main/src/components/AnalyticalTable/AnalyticalTable.stories.mdx index fc591be0fcb..ac4ca99821b 100644 --- a/packages/main/src/components/AnalyticalTable/AnalyticalTable.stories.mdx +++ b/packages/main/src/components/AnalyticalTable/AnalyticalTable.stories.mdx @@ -85,7 +85,6 @@ import { FlexBoxJustifyContent } from '@ui5/webcomponents-react/lib/FlexBoxJusti } ], title: 'Table Title', - busyIndicatorEnabled: true, sortable: true, filterable: true, visibleRows: 15, @@ -135,7 +134,6 @@ import { FlexBoxJustifyContent } from '@ui5/webcomponents-react/lib/FlexBoxJusti data={args.data} columns={args.columns} loading={args.loading} - busyIndicatorEnabled={args.busyIndicatorEnabled} alternateRowColor={args.alternateRowColor} sortable={args.sortable} filterable={args.filterable} @@ -283,7 +281,6 @@ This even works if you resize the browser window! data={args.dataTree} columns={args.columns} loading={args.loading} - busyIndicatorEnabled={args.busyIndicatorEnabled} sortable={args.sortable} filterable={args.filterable} visibleRows={args.visibleRows} diff --git a/packages/main/src/components/AnalyticalTable/AnalyticalTable.test.tsx b/packages/main/src/components/AnalyticalTable/AnalyticalTable.test.tsx index b7c41f1e8af..510e5be23cb 100644 --- a/packages/main/src/components/AnalyticalTable/AnalyticalTable.test.tsx +++ b/packages/main/src/components/AnalyticalTable/AnalyticalTable.test.tsx @@ -169,7 +169,6 @@ describe('AnalyticalTable', () => { data={dataTree} columns={columns} loading={false} - busyIndicatorEnabled={true} sortable={true} filterable={true} visibleRows={15} diff --git a/packages/main/src/components/AnalyticalTable/index.tsx b/packages/main/src/components/AnalyticalTable/index.tsx index 1c1102b5801..bd68d60525d 100644 --- a/packages/main/src/components/AnalyticalTable/index.tsx +++ b/packages/main/src/components/AnalyticalTable/index.tsx @@ -72,7 +72,6 @@ export interface TableProps extends CommonProps { minRows?: number; visibleRows?: number; loading?: boolean; - busyIndicatorEnabled?: boolean; noDataText?: string; rowHeight?: number; alternateRowColor?: boolean; @@ -143,7 +142,6 @@ const AnalyticalTable: FC = forwardRef((props: TableProps, ref: Ref< onSort, reactTableOptions, tableHooks, - busyIndicatorEnabled, subRowsKey, onGroup, rowHeight, @@ -403,9 +401,7 @@ const AnalyticalTable: FC = forwardRef((props: TableProps, ref: Ref< ); })} - {loading && busyIndicatorEnabled && props.data?.length > 0 && ( - - )} + {loading && props.data?.length > 0 && } {loading && props.data?.length === 0 && ( = forwardRef((props: TableProps, ref: Ref< AnalyticalTable.displayName = 'AnalyticalTable'; AnalyticalTable.defaultProps = { loading: false, - busyIndicatorEnabled: true, sortable: true, filterable: false, groupable: false,