From 9b84831c8d0c1d715cd42fa3e4e01ac8a59fa369 Mon Sep 17 00:00:00 2001 From: skjnldsv Date: Fri, 12 Jul 2024 10:41:41 +0200 Subject: fix(files_sharing): adjust IAttributes API and files_versions Signed-off-by: skjnldsv --- core/src/files/fileinfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') 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 } } -- cgit v1.2.3