Fix file creation in nested directory

This commit is contained in:
Dane Everitt 2019-12-21 17:43:50 -08:00
parent a1a344bc48
commit 3e915e526b
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
2 changed files with 7 additions and 2 deletions

View file

@ -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;
}