Update logic that handles creation of folders for a server
This commit is contained in:
parent
ec87330a81
commit
95d19bf09e
13 changed files with 116 additions and 9 deletions
|
@ -83,7 +83,7 @@
|
|||
}
|
||||
|
||||
this.isLoading = true;
|
||||
createFolder(this.server.uuid, this.credentials, `${this.fm.currentDirectory}/${this.folderName.replace(/^\//, '')}`)
|
||||
createFolder(this.server.uuid, this.fm.currentDirectory, this.folderName.replace(/^\//, ''))
|
||||
.then(() => {
|
||||
this.$emit('created', this.folderName.replace(/^\//, ''));
|
||||
this.onModalClose();
|
||||
|
|
Reference in a new issue