fix(tsview-s3-columns): append trailing slash to destination key when moving folders to ensure folder destination path
This commit is contained in:
@@ -1239,7 +1239,7 @@ export class TsviewS3Columns extends DeesElement {
|
||||
|
||||
try {
|
||||
const sourceName = getFileName(this.moveSource.key);
|
||||
const destKey = this.moveDestination + sourceName;
|
||||
const destKey = this.moveDestination + sourceName + (this.moveSource.isFolder ? '/' : '');
|
||||
|
||||
let result: { success: boolean; error?: string };
|
||||
if (this.moveSource.isFolder) {
|
||||
|
||||
Reference in New Issue
Block a user