This commit is contained in:
@@ -134,8 +134,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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user