diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-10-31 12:59:32 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-11-02 12:10:48 +0100 |
commit | 2a17811caf4710bdacca2639be934f8a90c8dc3d (patch) | |
tree | beb7e46e56fd46d44f71971805b72e63c1466933 /core/js/share | |
parent | 2804f3a7619ce6ed5cde2c7c4a6ea9b991f56726 (diff) | |
download | nextcloud-server-2a17811caf4710bdacca2639be934f8a90c8dc3d.tar.gz nextcloud-server-2a17811caf4710bdacca2639be934f8a90c8dc3d.zip |
Use property to check if a share entry is shared with the current user
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/js/share')
-rw-r--r-- | core/js/share/sharedialogshareelistview.handlebars | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/js/share/sharedialogshareelistview.handlebars b/core/js/share/sharedialogshareelistview.handlebars index 672888b5ad0..18ff219c12a 100644 --- a/core/js/share/sharedialogshareelistview.handlebars +++ b/core/js/share/sharedialogshareelistview.handlebars @@ -1,5 +1,6 @@ <ul id="shareWithList" class="shareWithList"> {{#each sharees}} + {{#unless isShareWithCurrentUser}} <li data-share-id="{{shareId}}" data-share-type="{{shareType}}" data-share-with="{{shareWith}}"> <div class="avatar {{#if modSeed}}imageplaceholderseed{{/if}}" data-username="{{shareWith}}" data-avatar="{{shareWithAvatar}}" data-displayname="{{shareWithDisplayName}}" {{#if modSeed}}data-seed="{{shareWith}} {{shareType}}"{{/if}}></div> <span class="username" title="{{shareWithTitle}}">{{shareWithDisplayName}}</span> @@ -17,6 +18,7 @@ </span> {{/if}} </li> + {{/unless}} {{/each}} {{#each linkReshares}} <li data-share-id="{{shareId}}" data-share-type="{{shareType}}"> |