mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Search: Fixes folder section not displaying dashboards (#55231)
This commit is contained in:
parent
1d298b3e53
commit
13014dc0df
@ -164,8 +164,8 @@ export const SearchView = ({
|
|||||||
);
|
);
|
||||||
|
|
||||||
const results = useAsync(() => {
|
const results = useAsync(() => {
|
||||||
// No need to query all dashboards if we are in folder view
|
// No need to query all dashboards if we are in search folder view
|
||||||
if (layout === SearchLayout.Folders) {
|
if (layout === SearchLayout.Folders && !folderDTO) {
|
||||||
return Promise.resolve();
|
return Promise.resolve();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user