From 224ee07cd5bef95491c26e444ad8a7aa6f991b45 Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Thu, 12 Oct 2023 14:46:51 -0700 Subject: [PATCH] fix(files): Remove unnecessary sort direction from label Signed-off-by: Christopher Ng --- apps/files/src/components/FilesListTableHeaderButton.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/files/src/components/FilesListTableHeaderButton.vue b/apps/files/src/components/FilesListTableHeaderButton.vue index 11d7e63f772..203c5b307a3 100644 --- a/apps/files/src/components/FilesListTableHeaderButton.vue +++ b/apps/files/src/components/FilesListTableHeaderButton.vue @@ -68,12 +68,8 @@ export default Vue.extend({ methods: { sortAriaLabel(column) { - const direction = this.isAscSorting - ? this.t('files', 'ascending') - : this.t('files', 'descending') - return this.t('files', 'Sort list by {column} ({direction})', { + return this.t('files', 'Sort list by {column}', { column, - direction, }) },