mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
fix(core-app): CB-1848 folders auto expand
This commit is contained in:
@@ -103,7 +103,7 @@ export const ElementsTree = observer<Props>(function ElementsTree({
|
||||
const autoOpenFolders = useCallback(async function autoOpenFolders(nodeId: string, path: string[]) {
|
||||
path = [...path];
|
||||
|
||||
if (!ref.settings?.foldersTree) {
|
||||
if (!ref.settings?.foldersTree && !folderExplorer.options.expandFoldersWithSingleElement) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user