mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
minor change
This commit is contained in:
parent
f79d438084
commit
7aecbe25cd
1 changed files with 3 additions and 2 deletions
|
|
@ -1336,8 +1336,9 @@ const toolNameToComponent: { [T in ToolName]: {
|
|||
name={`${child.name}${child.isDirectory ? '/' : ''}`}
|
||||
className='w-full overflow-auto py-1'
|
||||
onClick={() => {
|
||||
commandService.executeCommand('workbench.view.explorer');
|
||||
explorerService.select(child.uri, true);
|
||||
commandService.executeCommand('vscode.open', child.uri, { preview: true })
|
||||
// commandService.executeCommand('workbench.view.explorer'); // open in explorer folders view instead
|
||||
// explorerService.select(child.uri, true);
|
||||
}}
|
||||
/>))}
|
||||
{value.hasNextPage &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue