Skip to content

Commit bce5d89

Browse files
authored
don't show the zero state if we're fetching documents but not debouncing (#2606)
1 parent afd6f11 commit bce5d89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compass-crud/src/components/document-list.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class DocumentList extends React.Component {
184184
* @returns {React.Component} The query bar.
185185
*/
186186
renderZeroState() {
187-
if (this.props.docs.length > 0 || (this.props.status === DOCUMENTS_STATUS_FETCHING && !this.props.debouncingLoad)) {
187+
if (this.props.docs.length > 0 || this.props.status === DOCUMENTS_STATUS_FETCHING) {
188188
return null;
189189
}
190190

0 commit comments

Comments
 (0)