From bdaa8843b4a5c22db20e0a3ceae701e1fbca5463 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 3 Aug 2022 10:40:24 +0200 Subject: Fix label for allow download share permission MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- apps/files_sharing/src/components/SharingEntry.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'apps/files_sharing/src') diff --git a/apps/files_sharing/src/components/SharingEntry.vue b/apps/files_sharing/src/components/SharingEntry.vue index ad4147f0c9b..e06a8acef3b 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') }, /** -- cgit v1.2.3