fix: Use proper link for navigating to files on click handler

Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
Julius Härtl 2023-04-24 16:36:06 +02:00
parent 33451e72ae
commit 03d7556be2
No known key found for this signature in database
GPG key ID: 4C614C6ED2CDE6DF
3 changed files with 4 additions and 4 deletions

View file

@ -115,7 +115,7 @@ export default {
OCA.Viewer.open({ path: this.richObject.path })
return
}
window.location = generateUrl('/f/' + this.id)
window.location = this.richObject.link
},
},
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long