Skip to content

Commit

Permalink
Fix: query share attributes for filepicker
Browse files Browse the repository at this point in the history
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
  • Loading branch information
hamza221 committed Jun 3, 2024
1 parent 3b41b53 commit 833e740
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 833e740

Please sign in to comment.