diff options
author | skjnldsv <skjnldsv@protonmail.com> | 2024-07-12 10:41:41 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2024-07-12 20:14:30 +0200 |
commit | 9b84831c8d0c1d715cd42fa3e4e01ac8a59fa369 (patch) | |
tree | e39514c2cd1e51150075dff10c36c664d2d53ab2 /apps/files/js | |
parent | 62defbd6b4dded5cdb4d76efe947231cc310263b (diff) | |
download | nextcloud-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 '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 } } |