diff --git a/src/App.vue b/src/App.vue index 4210a58..a647972 100644 --- a/src/App.vue +++ b/src/App.vue @@ -43,6 +43,8 @@ export default { }, toggleDragEnded(){ this.dragEnded = !this.dragEnded; + this.zip = null; + this.sharedFile = null; }, }, } diff --git a/src/components/FileTable.vue b/src/components/FileTable.vue index b3a173c..808f00c 100644 --- a/src/components/FileTable.vue +++ b/src/components/FileTable.vue @@ -399,7 +399,6 @@ export default { }, onDragEnd() { this.isDragging = false; - console.log('feur2') }, async onDrop(event) { event.preventDefault(); @@ -412,7 +411,6 @@ export default { console.log(file); console.log(zip); - if (!file && !zip) return; if (zip) { @@ -457,7 +455,6 @@ export default { this.newElemName = ''; } this.isDroppable = true; - console.log('feur') }, async moveFilesOfFolder(folder, parentPath) { await this.createFolder(folder, parentPath + '/'); diff --git a/src/components/WebContentViewer.vue b/src/components/WebContentViewer.vue index 9954923..e31d278 100644 --- a/src/components/WebContentViewer.vue +++ b/src/components/WebContentViewer.vue @@ -5,8 +5,9 @@