Search: Fixes folder section not displaying dashboards (#55231)

pull/55316/head
Joao Silva 3 years ago committed by GitHub
parent 1d298b3e53
commit 13014dc0df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      public/app/features/search/page/components/SearchView.tsx

@ -164,8 +164,8 @@ export const SearchView = ({
);
const results = useAsync(() => {
// No need to query all dashboards if we are in folder view
if (layout === SearchLayout.Folders) {
// No need to query all dashboards if we are in search folder view
if (layout === SearchLayout.Folders && !folderDTO) {
return Promise.resolve();
}

Loading…
Cancel
Save