Commit c2c45388 authored by ioedeveloper's avatar ioedeveloper

Show trimmed filename

parent fc2e65a6
......@@ -712,6 +712,7 @@ export const FileExplorer = (props: FileExplorerProps) => {
}
} else {
if (state.focusEdit.lastEdit === content) {
editRef.current.textContent = content
return setState(prevState => {
return { ...prevState, focusEdit: { element: null, isNew: false, type: '', lastEdit: '' } }
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment