fix open the renaming file

This commit is contained in:
codetypes committed 2024-12-05 09:52:35 +08:00
1 parent e6a44d8f39
commit e308d21837
1 file changed
+1 -1
+1 -1
View File
@@ -805,7 +805,7 @@ export const Explorer: FC = () => {
}}
onSelect={(_, info) => {
const node = info.selectedNodes.at(0);
if (node) {
if (node && !node.editing) {
dispatch("open", node);
setSelectedKeys([node.path]);
}