Fix file creation in nested directory
This commit is contained in:
parent
a1a344bc48
commit
3e915e526b
2 changed files with 7 additions and 2 deletions
|
@ -46,7 +46,7 @@ export default () => {
|
|||
})
|
||||
.then(() => {
|
||||
if (name) {
|
||||
history.push(`/server/${id}/files/edit#${hash.replace(/^#/, '')}/${name}`);
|
||||
history.push(`/server/${id}/files/edit#/${name}`);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue