From 833e740f982f491de3258b480b5f98633e217037 Mon Sep 17 00:00:00 2001 From: Hamza Mahjoubi Date: Mon, 3 Jun 2024 15:08:43 +0200 Subject: [PATCH] Fix: query share attributes for filepicker Signed-off-by: Hamza Mahjoubi --- src/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.js b/src/main.js index 2d04682a06..7a4a171360 100644 --- a/src/main.js +++ b/src/main.js @@ -24,6 +24,7 @@ import Vue from 'vue' import { getRequestToken } from '@nextcloud/auth' +import { registerDavProperty } from '@nextcloud/files' import { sync } from 'vuex-router-sync' import { generateFilePath } from '@nextcloud/router' import '@nextcloud/dialogs/style.css' @@ -58,6 +59,8 @@ const getPreferenceFromPage = (key) => { return elem.value } +registerDavProperty('nc:share-attributes', { nc: 'http://nextcloud.org/ns' }) + store.commit('savePreference', { key: 'debug', value: loadState('mail', 'debug', false),