From a55a76acb3519a543a26da39eaf589d669995226 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Fri, 29 Mar 2024 17:37:54 +0100 Subject: [PATCH] fix(FilePicker): Request all default file props (incl. file id) Signed-off-by: Ferdinand Thiessen --- lib/composables/dav.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/composables/dav.ts b/lib/composables/dav.ts index 55b2d4d5..84ca5cf6 100644 --- a/lib/composables/dav.ts +++ b/lib/composables/dav.ts @@ -33,6 +33,7 @@ import { computed, onMounted, ref, watch } from 'vue' * * @param currentView Reference to the current files view * @param currentPath Reference to the current files path + * @param isPublicEndpoint True if the public `public.php` WebDAV endpoint should be used instead of `remote.php` */ export const useDAVFiles = function( currentView: Ref<'files'|'recent'|'favorites'> | ComputedRef<'files'|'recent'|'favorites'>, @@ -102,6 +103,7 @@ export const useDAVFiles = function( const { data } = await client.value.stat(`${rootPath}${path}`, { details: true, + data: davGetDefaultPropfind(), }) as ResponseDataDetailed return resultToNode(data) }