diff options
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/fileinfomodel.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/fileinfomodel.js b/apps/files/js/fileinfomodel.js index 9cd3660f710..0c0061d4d13 100644 --- a/apps/files/js/fileinfomodel.js +++ b/apps/files/js/fileinfomodel.js @@ -128,7 +128,7 @@ for (const i in this.attributes.shareAttributes) { const attr = this.attributes.shareAttributes[i] if (attr.scope === 'permissions' && attr.key === 'download') { - return attr.enabled + return attr.value === true } } |