mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-05-21 09:42:10 +00:00
refactor(Library): add translation to sort selectable
This commit is contained in:
parent
b41cc418c5
commit
02fceea357
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ const mapSelectableInputs = (library, t) => {
|
||||||
options: library.selectable.sorts
|
options: library.selectable.sorts
|
||||||
.map(({ sort, deepLinks }) => ({
|
.map(({ sort, deepLinks }) => ({
|
||||||
value: deepLinks.library,
|
value: deepLinks.library,
|
||||||
label: translateOption(sort)
|
label: translateOption(sort, 'SORT_')
|
||||||
})),
|
})),
|
||||||
selected: library.selectable.sorts
|
selected: library.selectable.sorts
|
||||||
.filter(({ selected }) => selected)
|
.filter(({ selected }) => selected)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue