1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-11 00:10:06 +00:00

fix(web): show original name as default name in rename file/folder modal

This commit is contained in:
2022-07-27 01:44:13 +05:00
parent c574b42235
commit 9640f65264
2 changed files with 9 additions and 2 deletions

View File

@@ -208,6 +208,7 @@ const TreeViewNode = ({
action={
nameInputModalActionLabel === 'Add' ? addFileFolder : renameFileFolder
}
defaultName={node.relativePath.split('/').pop()}
/>
<Menu
open={contextMenu !== null}