aboutsummaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/files/fileinfo.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/files/fileinfo.js b/core/src/files/fileinfo.js
index 2f3bc46457d..7ebe06a8349 100644
--- a/core/src/files/fileinfo.js
+++ b/core/src/files/fileinfo.js
@@ -147,7 +147,7 @@
for (const i in this.shareAttributes) {
const attr = this.shareAttributes[i]
if (attr.scope === 'permissions' && attr.key === 'download') {
- return attr.enabled
+ return attr.value === true
}
}