Merge pull request #20825 from nextcloud/fix/sharing-own-group
This commit is contained in:
commit
32e56dee89
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -306,6 +306,7 @@ export default {
|
||||||
return arr
|
return arr
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
if (share.value.shareType === this.SHARE_TYPES.SHARE_TYPE_USER) {
|
||||||
// filter out current user
|
// filter out current user
|
||||||
if (share.value.shareWith === getCurrentUser().uid) {
|
if (share.value.shareWith === getCurrentUser().uid) {
|
||||||
return arr
|
return arr
|
||||||
|
@ -315,6 +316,7 @@ export default {
|
||||||
if (this.reshare && share.value.shareWith === this.reshare.owner) {
|
if (this.reshare && share.value.shareWith === this.reshare.owner) {
|
||||||
return arr
|
return arr
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// filter out existing mail shares
|
// filter out existing mail shares
|
||||||
if (share.value.shareType === this.SHARE_TYPES.SHARE_TYPE_EMAIL) {
|
if (share.value.shareType === this.SHARE_TYPES.SHARE_TYPE_EMAIL) {
|
||||||
|
|
Loading…
Reference in New Issue