aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorF. E Noel Nfebe <fenn25.fn@gmail.com>2024-12-05 09:31:39 +0100
committerGitHub <noreply@github.com>2024-12-05 09:31:39 +0100
commit7bc21d8a34e9d4a0a066a0069a9a7abf13158368 (patch)
tree2630d5e1fdd02965c699445efeb5e579d91ac1f5 /apps
parente4fe1f68faaf2a77d79392de3037f49e7018fdc5 (diff)
parentd21640baadf80789a65c72b1487438ca089332bd (diff)
downloadnextcloud-server-7bc21d8a34e9d4a0a066a0069a9a7abf13158368.tar.gz
nextcloud-server-7bc21d8a34e9d4a0a066a0069a9a7abf13158368.zip
Merge pull request #49644 from nextcloud/artonge/fix/sharetype
fix(files_sharing): List of share type during recipient lookup
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/src/components/SharingInput.vue12
1 files changed, 11 insertions, 1 deletions
diff --git a/apps/files_sharing/src/components/SharingInput.vue b/apps/files_sharing/src/components/SharingInput.vue
index 7a441865a78..f8949920772 100644
--- a/apps/files_sharing/src/components/SharingInput.vue
+++ b/apps/files_sharing/src/components/SharingInput.vue
@@ -168,7 +168,17 @@ export default {
lookup = true
}
- const shareType = Object.values(ShareType)
+ const shareType = [
+ ShareType.User,
+ ShareType.Group,
+ ShareType.Remote,
+ ShareType.RemoteGroup,
+ ShareType.Team,
+ ShareType.Room,
+ ShareType.Guest,
+ ShareType.Deck,
+ ShareType.ScienceMesh,
+ ]
if (getCapabilities().files_sharing.public.enabled === true) {
shareType.push(ShareType.Email)