aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorskjnldsv <skjnldsv@protonmail.com>2024-07-12 10:41:41 +0200
committerJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-07-12 20:14:30 +0200
commit9b84831c8d0c1d715cd42fa3e4e01ac8a59fa369 (patch)
treee39514c2cd1e51150075dff10c36c664d2d53ab2 /core
parent62defbd6b4dded5cdb4d76efe947231cc310263b (diff)
downloadnextcloud-server-9b84831c8d0c1d715cd42fa3e4e01ac8a59fa369.tar.gz
nextcloud-server-9b84831c8d0c1d715cd42fa3e4e01ac8a59fa369.zip
fix(files_sharing): adjust IAttributes API and files_versions
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-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
}
}