feat(common): support simultaneous imports of collections and environment files (#3719)
This commit is contained in:
@@ -61,7 +61,7 @@ export function navigateToFolderWithIndexPath(
|
||||
|
||||
let target = collections[indexPaths.shift() as number]
|
||||
|
||||
while (indexPaths.length > 0)
|
||||
while (indexPaths.length > 0 && target)
|
||||
target = target.folders[indexPaths.shift() as number]
|
||||
|
||||
return target !== undefined ? target : null
|
||||
|
||||
Reference in New Issue
Block a user