fix(files): Remove unnecessary sort direction from label

Signed-off-by: Christopher Ng <chrng8@gmail.com>
pull/40893/head
Christopher Ng 2023-10-12 14:46:51 +07:00 committed by Ferdinand Thiessen
parent cbb7085cfe
commit 224ee07cd5
1 changed files with 1 additions and 5 deletions

@ -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,
})
},