Merge remote-tracking branch 'origin/Fix/View'

This commit is contained in:
a.bouhuolia
2020-12-17 01:21:34 +02:00
20 changed files with 242 additions and 313 deletions

View File

@@ -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 />