Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-08-03 11:40:24 +0300
committerCarl Schwan <carl@carlschwan.eu>2022-08-03 14:24:40 +0300
commitbdaa8843b4a5c22db20e0a3ceae701e1fbca5463 (patch)
treec0a44653363a1b781d90479decf9d76538b8c49c /apps/files_sharing/src
parentaafaa3951550347f47e53b44675cd66c77916535 (diff)
Fix label for allow download share permission
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files_sharing/src')
-rw-r--r--apps/files_sharing/src/components/SharingEntry.vue6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/files_sharing/src/components/SharingEntry.vue b/apps/files_sharing/src/components/SharingEntry.vue
index ad4147f0c9b..e06a8acef3b 100644
--- a/apps/files_sharing/src/components/SharingEntry.vue
+++ b/apps/files_sharing/src/components/SharingEntry.vue
@@ -412,11 +412,7 @@ export default {
* @return {string}
*/
allowDownloadText() {
- if (this.isFolder) {
- return t('files_sharing', 'Allow download of office files')
- } else {
- return t('files_sharing', 'Allow download')
- }
+ return t('files_sharing', 'Allow download')
},
/**