From a9bcc0b206429aac840cfa23e1371a08c476a147 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Wed, 30 Mar 2022 14:20:06 +0200 Subject: [PATCH] sftp: fixed folder refresh after uploading --- tabby-ssh/src/components/sftpPanel.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabby-ssh/src/components/sftpPanel.component.ts b/tabby-ssh/src/components/sftpPanel.component.ts index 599e841f..96ba5ee0 100644 --- a/tabby-ssh/src/components/sftpPanel.component.ts +++ b/tabby-ssh/src/components/sftpPanel.component.ts @@ -112,8 +112,8 @@ export class SFTPPanelComponent { } async uploadOne (transfer: FileUpload): Promise { - 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) }