aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-07-29 13:31:25 +0200
committerJoas Schilling <coding@schilljs.com>2024-07-29 13:31:25 +0200
commit44de6b328031908303601c97395df11c42e17ad8 (patch)
treee8b57164c0cd14b439cee18cf303b34dede43de8 /apps/files_sharing/src
parent2a4588a9dfd39de3cdf170c81f0639ce91494c77 (diff)
downloadnextcloud-server-44de6b328031908303601c97395df11c42e17ad8.tar.gz
nextcloud-server-44de6b328031908303601c97395df11c42e17ad8.zip
fix(sharing): Disable "Read permission" checkbox correctly
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_sharing/src')
-rw-r--r--apps/files_sharing/src/views/SharingDetailsTab.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/src/views/SharingDetailsTab.vue b/apps/files_sharing/src/views/SharingDetailsTab.vue
index 040a5c312e7..d469181b7bd 100644
--- a/apps/files_sharing/src/views/SharingDetailsTab.vue
+++ b/apps/files_sharing/src/views/SharingDetailsTab.vue
@@ -162,7 +162,7 @@
{{ t('files_sharing', 'Custom permissions') }}
</NcCheckboxRadioSwitch>
<section v-if="setCustomPermissions" class="custom-permissions-group">
- <NcCheckboxRadioSwitch :disabled="!allowsFileDrop && share.type === SHARE_TYPES.SHARE_TYPE_LINK"
+ <NcCheckboxRadioSwitch :disabled="!canRemoveReadPermission"
:checked.sync="hasRead">
{{ t('files_sharing', 'Read') }}
</NcCheckboxRadioSwitch>