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 <[email protected]>
  • Loading branch information
juliusknorr committed Aug 3, 2022
1 parent 9475cc0 commit 45f6694
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 45f6694

Please sign in to comment.