Hide previews behind toggle properly (#43704)

This commit is contained in:
Ashley Harrison
2022-01-05 15:28:03 +00:00
committed by GitHub
parent 9e5a7b056c
commit b826804ef7
@@ -54,7 +54,7 @@ export const DashboardSearch: FC<Props> = memo(({ onCloseSearch }) => {
editable={false}
onToggleSection={onToggleSection}
layout={query.layout}
showPreviews={showPreviews}
showPreviews={previewsEnabled && showPreviews}
/>
</CustomScrollbar>
</div>