diff --git a/lib/Service/ExFilesActionsMenuService.php b/lib/Service/ExFilesActionsMenuService.php index f366e520..b00bc243 100644 --- a/lib/Service/ExFilesActionsMenuService.php +++ b/lib/Service/ExFilesActionsMenuService.php @@ -153,6 +153,8 @@ public function handleFileAction(string $userId, string $appId, string $fileActi 'directory' => $actionFile['directory'], 'etag' => $actionFile['etag'], 'mime' => $actionFile['mime'], + 'fileType' => $actionFile['fileType'], + 'contentLength' => $actionFile['contentLength'], 'favorite' => $actionFile['favorite'] ?? "false", 'permissions' => $actionFile['permissions'] ], diff --git a/src/filesplugin.js b/src/filesplugin.js index 1c65311a..bb9e8a9e 100644 --- a/src/filesplugin.js +++ b/src/filesplugin.js @@ -33,6 +33,8 @@ state.fileActions.forEach(fileAction => { mime: file.dataset.mime, favorite: file.dataset?.favorite, permissions: file.dataset.permissions, + fileType: file.dataset.type, + contentLength: file.dataset.size, }, }).then((response) => { console.debug('response', response)