diff options
author | Christopher Ng <chrng8@gmail.com> | 2023-10-12 14:46:51 -0700 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-10-14 21:29:48 +0200 |
commit | 224ee07cd5bef95491c26e444ad8a7aa6f991b45 (patch) | |
tree | ed96e9406edf679b783c296a3a17200e1f127a6e /apps/files | |
parent | cbb7085cfe4ccee1cf3ee0d35fc55f96d2b0bb81 (diff) | |
download | nextcloud-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.vue | 6 |
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, }) }, |