Skip to content

Commit

Permalink
Merge pull request #49644 from nextcloud/artonge/fix/sharetype
Browse files Browse the repository at this point in the history
fix(files_sharing): List of share type during recipient lookup
  • Loading branch information
nfebe authored Dec 5, 2024
2 parents e4fe1f6 + d21640b commit 7bc21d8
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 8 deletions.
12 changes: 11 additions & 1 deletion apps/files_sharing/src/components/SharingInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions dist/3608-3608.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/3608-3608.js.map

This file was deleted.

1 change: 0 additions & 1 deletion dist/3608-3608.js.map.license

This file was deleted.

2 changes: 2 additions & 0 deletions dist/6391-6391.js

Large diffs are not rendered by default.

File renamed without changes.
1 change: 1 addition & 0 deletions dist/6391-6391.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/6391-6391.js.map.license
4 changes: 2 additions & 2 deletions dist/files_sharing-files_sharing_tab.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files_sharing-files_sharing_tab.js.map

Large diffs are not rendered by default.

0 comments on commit 7bc21d8

Please sign in to comment.