fix(files): Remove unnecessary sort direction from label

Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
Christopher Ng 2023-10-12 14:46:51 -07:00 committed by Ferdinand Thiessen
parent cbb7085cfe
commit 224ee07cd5

View file

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