diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-10-30 14:23:00 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-11-02 12:09:29 +0100 |
commit | 59377dbd508c4562994719924d9b6f35885c1642 (patch) | |
tree | b653e588df49b28e75ce8bf2850ce047cefb81de /core/js/sharedialogshareelistview.js | |
parent | b73e03724c402216ccadb0dab1973f1ddaa14494 (diff) | |
download | nextcloud-server-59377dbd508c4562994719924d9b6f35885c1642.tar.gz nextcloud-server-59377dbd508c4562994719924d9b6f35885c1642.zip |
Remove reshare owner entry from the share list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/js/sharedialogshareelistview.js')
-rw-r--r-- | core/js/sharedialogshareelistview.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/js/sharedialogshareelistview.js b/core/js/sharedialogshareelistview.js index dc97099dd58..140175bc062 100644 --- a/core/js/sharedialogshareelistview.js +++ b/core/js/sharedialogshareelistview.js @@ -371,6 +371,9 @@ if(_.isArray(sharees)) { for (var i = 0; i < sharees.length; i++) { data.sharees[i].popoverMenu = this.popoverMenuTemplate(sharees[i]); + if (data.sharees[i].shareType === OC.Share.SHARE_TYPE_USER && data.sharees[i].shareWith === OC.getCurrentUser().uid) { + data.sharees.splice(i, 1); + } } } return OC.Share.Templates['sharedialogshareelistview'](data); |