mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-23 08:36:03 +00:00
sftp: fixed folder refresh after uploading
This commit is contained in:
@@ -112,8 +112,8 @@ export class SFTPPanelComponent {
|
||||
}
|
||||
|
||||
async uploadOne (transfer: FileUpload): Promise<void> {
|
||||
await this.sftp.upload(path.join(this.path, transfer.getName()), transfer)
|
||||
const savedPath = this.path
|
||||
await this.sftp.upload(path.join(this.path, transfer.getName()), transfer)
|
||||
if (this.path === savedPath) {
|
||||
await this.navigate(this.path)
|
||||
}
|
||||
|
Reference in New Issue
Block a user