aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-08-04 22:24:11 +0200
committerGitHub <noreply@github.com>2022-08-04 22:24:11 +0200
commit79e642123bc001b7cf1d7d975b35d89758f09c5a (patch)
tree1a3a570d6554ba3e4eb40e53fe5f2bcd3eb749a1 /apps
parentf64f19be8850b0f4fa599bc564271187f5e5089d (diff)
parent02fd7d22160fea1d51e19e914e7cf4d08013aa85 (diff)
downloadnextcloud-server-79e642123bc001b7cf1d7d975b35d89758f09c5a.tar.gz
nextcloud-server-79e642123bc001b7cf1d7d975b35d89758f09c5a.zip
Merge pull request #33448 from nextcloud/bugfix/allow-download-label
Diffstat (limited to 'apps')
-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 f873ef542ed..4748f75817b 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')
},
/**