diff --git a/_assets/src/components/DeletePrompt.vue b/_assets/src/components/DeletePrompt.vue index 86b9b55a..820f3a57 100644 --- a/_assets/src/components/DeletePrompt.vue +++ b/_assets/src/components/DeletePrompt.vue @@ -46,21 +46,6 @@ export default { return } - if (this.selectedCount === 1) { - webdav.trash(this.req.data.items[this.selected[0]].url) - .then(() => { - // buttons.setDone('delete') - page.reload() - }) - .catch(error => { - // buttons.setDone('delete', false) - console.log(error) - }) - - return - } - - // More than one item! let promises = [] for (let index of this.selected) { @@ -74,6 +59,7 @@ export default { }) .catch(error => { console.log(error) + page.reload() // buttons.setDone('delete', false) }) } diff --git a/_assets/src/components/Help.vue b/_assets/src/components/Help.vue index bf05a64e..7e40622d 100644 --- a/_assets/src/components/Help.vue +++ b/_assets/src/components/Help.vue @@ -20,19 +20,12 @@
{{ selected.length }} files selected.
+{{ selected.length }} files selected.
-Display Name: {{ name() }}
-Size: {{ humanSize() }}
-Last Modified: {{ humanTime() }}
+Display Name: {{ name() }}
+Size: {{ humanSize() }}
+Last Modified: {{ humanTime() }}
-Number of files: {{ req.data.numFiles }}
-Number of directories: {{ req.data.numDirs }}
-Number of files: {{ req.data.numFiles }}
+Number of directories: {{ req.data.numDirs }}
+MD5: show
SHA1: show
SHA256: show
SHA512: show
MD5: show
SHA1: show
SHA256: show
SHA512: show