Skip to content

Commit d411ba4

Browse files
committed
Use registerDavProperty from @nextcloud/files/dav
The registerDavProperty function from @nextcloud/files is deprecated. Use the non-deprecated import from @nextcloud/files/dav instead. Signed-off-by: Vitor Mattos <[email protected]>
1 parent cff2977 commit d411ba4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/init.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
import Vue from 'vue'
77

88
import axios from '@nextcloud/axios'
9-
import { addNewFileMenuEntry, Permission, registerDavProperty } from '@nextcloud/files'
9+
import { addNewFileMenuEntry, Permission } from '@nextcloud/files'
10+
import { registerDavProperty } from '@nextcloud/files/dav'
1011
import { translate, translatePlural } from '@nextcloud/l10n'
1112
import { generateOcsUrl } from '@nextcloud/router'
1213
import { getUploader } from '@nextcloud/upload'

0 commit comments

Comments
 (0)