aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/src')
-rw-r--r--apps/files/src/views/ReferenceFileWidget.vue2
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
},
},
}