Skip to content

Commit 54671d3

Browse files
authored
fix(files): Fix issue when drag-dropping a single file (#790)
1 parent c6df431 commit 54671d3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/app/shared/components/files-tree/files-tree.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,6 @@ export class FilesTreeComponent implements OnDestroy, AfterViewInit {
468468
const dragFile = event.dragNode as FileModel;
469469
if (!files.includes(dragFile)) {
470470
this.selectFile.emit(dragFile);
471-
files.push(dragFile);
472471
}
473472
this.moveFilesTo(files, dropFile);
474473
}

0 commit comments

Comments
 (0)