Skip to content

Commit 02fd7d2

Browse files
juliusknorrnextcloud-command
authored andcommitted
Fix label for allow download share permission
Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
1 parent 5d697b5 commit 02fd7d2

3 files changed

Lines changed: 4 additions & 8 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
/**

dist/files_sharing-files_sharing_tab.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files_sharing-files_sharing_tab.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)