aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2023-10-12 14:46:51 -0700
committerFerdinand Thiessen <opensource@fthiessen.de>2023-10-14 21:29:48 +0200
commit224ee07cd5bef95491c26e444ad8a7aa6f991b45 (patch)
treeed96e9406edf679b783c296a3a17200e1f127a6e /apps/files
parentcbb7085cfe4ccee1cf3ee0d35fc55f96d2b0bb81 (diff)
downloadnextcloud-server-224ee07cd5bef95491c26e444ad8a7aa6f991b45.tar.gz
nextcloud-server-224ee07cd5bef95491c26e444ad8a7aa6f991b45.zip
fix(files): Remove unnecessary sort direction from label
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/src/components/FilesListTableHeaderButton.vue6
1 files changed, 1 insertions, 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,
})
},