fix: closes #1058 – orphaned archived headig
This commit is contained in:
@@ -74,8 +74,9 @@ class PaginatedDocumentList extends React.Component<Props> {
|
||||
const { empty, heading, documents, fetch, options, ...rest } = this.props;
|
||||
const showLoading =
|
||||
this.isFetching && !this.isFetchingMore && !this.isInitiallyLoaded;
|
||||
const showEmpty = !documents.length || showLoading;
|
||||
const showList = (this.isLoaded || this.isInitiallyLoaded) && !showLoading;
|
||||
const showEmpty = !documents.length && !showLoading;
|
||||
const showList =
|
||||
(this.isLoaded || this.isInitiallyLoaded) && !showLoading && !showEmpty;
|
||||
|
||||
return (
|
||||
<React.Fragment>
|
||||
|
||||
Reference in New Issue
Block a user