diff options
author | Julius Härtl <jus@bitgrid.net> | 2023-04-24 16:36:06 +0200 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2023-04-25 09:08:01 +0000 |
commit | b7d574807c496bb10ae60431d213db963ab4176b (patch) | |
tree | 7427494fcea3ea2954b689497684bf2fe7710848 /apps/files/src | |
parent | e8a48b51dc074ee2f5d23d5f48369764f917d499 (diff) | |
download | nextcloud-server-b7d574807c496bb10ae60431d213db963ab4176b.tar.gz nextcloud-server-b7d574807c496bb10ae60431d213db963ab4176b.zip |
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>
Diffstat (limited to 'apps/files/src')
-rw-r--r-- | apps/files/src/views/ReferenceFileWidget.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/src/views/ReferenceFileWidget.vue b/apps/files/src/views/ReferenceFileWidget.vue index f0ac7007312..7634994a30d 100644 --- a/apps/files/src/views/ReferenceFileWidget.vue +++ b/apps/files/src/views/ReferenceFileWidget.vue @@ -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 }, }, } |