aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/actions/openInFilesAction.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/src/actions/openInFilesAction.ts')
-rw-r--r--apps/files_sharing/src/actions/openInFilesAction.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/src/actions/openInFilesAction.ts b/apps/files_sharing/src/actions/openInFilesAction.ts
index 3715e96562e..51b9ec84a1d 100644
--- a/apps/files_sharing/src/actions/openInFilesAction.ts
+++ b/apps/files_sharing/src/actions/openInFilesAction.ts
@@ -26,7 +26,7 @@ export const action = new FileAction({
async exec(node: Node) {
window.OCP.Files.Router.goToRoute(
null, // use default route
- { view: 'files', fileid: node.fileid },
+ { view: 'files', fileid: String(node.fileid) },
{ dir: node.dirname, openfile: 'true' },
)
return null