Skip to content

Commit 10f1e49

Browse files
committed
Fix label for allow download share permission
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 parent 5d697b5 commit 10f1e49

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

apps/files_sharing/src/components/SharingEntry.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -412,11 +412,7 @@ export default {
412412
* @return {string}
413413
*/
414414
allowDownloadText() {
415-
if (this.isFolder) {
416-
return t('files_sharing', 'Allow download of office files')
417-
} else {
418-
return t('files_sharing', 'Allow download')
419-
}
415+
return t('files_sharing', 'Allow download')
420416
},
421417
422418
/**

0 commit comments

Comments
 (0)