Browse Source

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>
pull/37904/head
Julius Härtl 3 years ago
committed by nextcloud-command
parent
commit
b7d574807c
  1. 2
      apps/files/src/views/ReferenceFileWidget.vue
  2. 4
      dist/files-reference-files.js
  3. 2
      dist/files-reference-files.js.map

2
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
},
},
}

4
dist/files-reference-files.js
File diff suppressed because it is too large
View File

2
dist/files-reference-files.js.map
File diff suppressed because it is too large
View File

Loading…
Cancel
Save