aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/components/SharingEntry.vue
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-09-12 19:43:48 +0200
committerGitHub <noreply@github.com>2022-09-12 19:43:48 +0200
commit52dbfcf74cec9c7dcc2ca7492cc6e6af24c9ddff (patch)
tree34076b859df7bbd5496531998197622084526c11 /apps/files_sharing/src/components/SharingEntry.vue
parenta1fcee0c99d52c1fd11c11dc178edbff60aa08ed (diff)
parent3fcb05e9006d078c5acb116bfd46e92b7ba36f5e (diff)
downloadnextcloud-server-52dbfcf74cec9c7dcc2ca7492cc6e6af24c9ddff.tar.gz
nextcloud-server-52dbfcf74cec9c7dcc2ca7492cc6e6af24c9ddff.zip
Merge pull request #34026 from nextcloud/port-profile-section-checkbox
Port Profile section checbox to NcCheckoxRadioSwitch component
Diffstat (limited to 'apps/files_sharing/src/components/SharingEntry.vue')
-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>