aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js/sharetabview.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/js/sharetabview.js')
-rw-r--r--apps/files_sharing/js/sharetabview.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/apps/files_sharing/js/sharetabview.js b/apps/files_sharing/js/sharetabview.js
index 68288500ae0..e24320604fb 100644
--- a/apps/files_sharing/js/sharetabview.js
+++ b/apps/files_sharing/js/sharetabview.js
@@ -11,7 +11,6 @@
(function() {
var TEMPLATE =
'<div>' +
- '<ul>{{#if owner}}<li>Owner: {{owner}}</li>{{/if}}</ul>' +
'<div class="dialogContainer"></div>' +
'</div>';
@@ -47,13 +46,7 @@
}
if (this.model) {
- var owner = this.model.get('shareOwner');
- if (owner === OC.currentUser) {
- owner = null;
- }
- this.$el.html(this.template({
- owner: owner
- }));
+ this.$el.html(this.template());
// TODO: the model should read these directly off the passed fileInfoModel
var attributes = {