diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-09-15 15:29:30 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-09-16 07:23:29 +0200 |
commit | 996639f4fbd4107851efc11ee34b24cead43e790 (patch) | |
tree | 9351ddf424d608b71ecf50715105b7af1131487d /core/js/sharedialogresharerinfoview.js | |
parent | 886f1ed660e91edb8f370cf711ed395fdff7dc30 (diff) | |
download | nextcloud-server-996639f4fbd4107851efc11ee34b24cead43e790.tar.gz nextcloud-server-996639f4fbd4107851efc11ee34b24cead43e790.zip |
More unit tests for share dialog
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; |