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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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