mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-10 17:39:38 +08:00
Highlight selected sort in results sort dropdown [SCI-9428]
This commit is contained in:
parent
1acf67db5a
commit
14a693b697
1 changed files with 2 additions and 1 deletions
|
@ -112,7 +112,8 @@
|
||||||
return {
|
return {
|
||||||
text: this.i18n.t(`my_modules.results.sorts.${sort}`),
|
text: this.i18n.t(`my_modules.results.sorts.${sort}`),
|
||||||
emit: 'sort',
|
emit: 'sort',
|
||||||
params: sort
|
params: sort,
|
||||||
|
active: sort == this.sort
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue