mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
Merge remote-tracking branch 'origin/Fix/View'
This commit is contained in:
@@ -46,6 +46,7 @@ function ItemsDataTable({
|
||||
onInactiveItem,
|
||||
onActivateItem,
|
||||
onSelectedRowsChange,
|
||||
itemsViewLoading,
|
||||
}) {
|
||||
const { formatMessage } = useIntl();
|
||||
const isLoadedBefore = useIsValuePassed(itemsTableLoading, false);
|
||||
@@ -238,7 +239,9 @@ function ItemsDataTable({
|
||||
|
||||
return (
|
||||
<div className={classNames(CLASSES.DASHBOARD_DATATABLE)}>
|
||||
<LoadingIndicator loading={itemsTableLoading && !isLoadedBefore}>
|
||||
<LoadingIndicator
|
||||
loading={(itemsTableLoading && !isLoadedBefore) || itemsViewLoading}
|
||||
>
|
||||
<Choose>
|
||||
<Choose.When condition={showEmptyStatus}>
|
||||
<ItemsEmptyStatus />
|
||||
|
||||
Reference in New Issue
Block a user