Skip to content

Commit

Permalink
Fix label for allow download share permission
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliusknorr committed Aug 4, 2022
1 parent 5d697b5 commit 10f1e49
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions apps/files_sharing/src/components/SharingEntry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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')
},

/**
Expand Down

0 comments on commit 10f1e49

Please sign in to comment.