summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-09-12 11:18:31 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-09-12 15:38:20 +0200
commit3fcb05e9006d078c5acb116bfd46e92b7ba36f5e (patch)
tree8e14bf2892df53dfcbcc46dd148d56d8452272ea /apps/files_sharing
parent52d962bd5346f8879290c332a2e35ad6d12c84df (diff)
downloadnextcloud-server-3fcb05e9006d078c5acb116bfd46e92b7ba36f5e.tar.gz
nextcloud-server-3fcb05e9006d078c5acb116bfd46e92b7ba36f5e.zip
Port Profile section checbox to NcCheckoxRadioSwitch component
Improve accessibility and unify the design Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/src/components/SharingEntry.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/src/components/SharingEntry.vue b/apps/files_sharing/src/components/SharingEntry.vue
index c77bdd4292a..fccabf4532b 100644
--- a/apps/files_sharing/src/components/SharingEntry.vue
+++ b/apps/files_sharing/src/components/SharingEntry.vue
@@ -78,9 +78,9 @@
{{ t('files_sharing', 'Allow resharing') }}
</NcActionCheckbox>
- <NcActionCheckbox ref="canDownload"
+ <NcActionCheckbox v-if="isSetDownloadButtonVisible"
+ ref="canDownload"
:checked.sync="canDownload"
- v-if="isSetDownloadButtonVisible"
:disabled="saving || !canSetDownload">
{{ allowDownloadText }}
</NcActionCheckbox>