diff options
author | skjnldsv <skjnldsv@protonmail.com> | 2024-07-09 15:38:33 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2024-07-12 20:14:30 +0200 |
commit | 967b3848e0e2eeb7ca5447599769fd9fbf825069 (patch) | |
tree | 2711b6de5aa29c96d30c79de16f29fd72aa1396e /apps/files_sharing/src/components/SharingEntryLink.vue | |
parent | bc5839e5b5e2192ed7d2dd2173ab5ca72b1d8ebc (diff) | |
download | nextcloud-server-967b3848e0e2eeb7ca5447599769fd9fbf825069.tar.gz nextcloud-server-967b3848e0e2eeb7ca5447599769fd9fbf825069.zip |
fix(files_sharing): phpunit & openapi fixes
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_sharing/src/components/SharingEntryLink.vue')
-rw-r--r-- | apps/files_sharing/src/components/SharingEntryLink.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue index e9b7ee44815..7fad50ebc95 100644 --- a/apps/files_sharing/src/components/SharingEntryLink.vue +++ b/apps/files_sharing/src/components/SharingEntryLink.vue @@ -564,7 +564,7 @@ export default { }, canChangeHideDownload() { - const hasDisabledDownload = (shareAttribute) => shareAttribute.scope === 'permissions' && shareAttribute.key === 'download'&& shareAttribute.value === false + const hasDisabledDownload = (shareAttribute) => shareAttribute.scope === 'permissions' && shareAttribute.key === 'download' && shareAttribute.value === false return this.fileInfo.shareAttributes.some(hasDisabledDownload) }, |