diff options
Diffstat (limited to 'core/js/sharedialogresharerinfoview.js')
-rw-r--r-- | core/js/sharedialogresharerinfoview.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/sharedialogresharerinfoview.js b/core/js/sharedialogresharerinfoview.js index f6b927c08c5..600e2ecbf56 100644 --- a/core/js/sharedialogresharerinfoview.js +++ b/core/js/sharedialogresharerinfoview.js @@ -63,8 +63,8 @@ }, render: function() { - if ( !this.model.hasReshare() - || !this.model.getReshareOwner() !== OC.currentUser) + if (!this.model.hasReshare() + || this.model.getReshareOwner() === OC.currentUser) { this.$el.empty(); return this; |