Skip to content

Commit 33fa9c5

Browse files
authored
Withhold results if query is loading (#427)
1 parent e018824 commit 33fa9c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/blocks/remote-data-container/components/modals/DataViewsModal.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export const DataViewsModal: React.FC< DataViewsModalProps > = props => {
111111
onSelect={ save }
112112
onSelectField={ onSelectField }
113113
page={ page }
114-
results={ data?.results }
114+
results={ loading ? undefined : data?.results }
115115
searchInput={ searchInput }
116116
selectionIds={ selectionIds }
117117
setPage={ setPage }

0 commit comments

Comments
 (0)