mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 10:40:40 -04:00
fix(files): Remove unnecessary sort direction from label
Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
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,
|
||||
})
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue