Skip to content

Commit a3525b9

Browse files
authored
Merge pull request #61401 from nextcloud/fix(stable32)/dragndrop
[stable32] fix(files): drag n drop
2 parents 3c8a544 + 7a2e5fe commit a3525b9

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

apps/files/src/components/FileEntryMixin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,9 +490,9 @@ export default defineComponent({
490490
}
491491

492492
// Fetch destination contents for conflict resolution
493-
const cachedContents = this.filesStore.getNodesByPath(this.activeView.id, this.source.path)
493+
const cachedContents = this.filesStore.getNodesByPath(this.currentView.id, this.source.path)
494494
const contents = cachedContents.length === 0
495-
? (await this.activeView!.getContents(this.source.path)).contents
495+
? (await this.currentView!.getContents(this.source.path)).contents
496496
: cachedContents
497497

498498
logger.debug('Start uploading dropped files', { target: this.source.path, fileTree })

dist/files-main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files-main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)