Skip to content

Commit

Permalink
Merge pull request #1561 from nextcloud/backport/1560/stable25
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Feb 27, 2023
2 parents 42a4cb5 + 215695f commit 9017fa6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions js/viewer-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/viewer-main.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/views/Viewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ export default {
async onDelete() {
try {
const fileid = this.currentFile.fileid
const url = this.source ?? this.root + this.currentFile.filename
const url = this.source ?? this.currentFile.davPath

await axios.delete(url)
emit('files:file:deleted', { fileid })
Expand Down

0 comments on commit 9017fa6

Please sign in to comment.