mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 03:22:11 +00:00
Merge pull request #559 from Stremio/fix/library-sort-select-labels
fix(Library): sort label translations
This commit is contained in:
commit
abaac17c07
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,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: t.stringWithPrefix(sort, 'SORT_')
|
label: t.stringWithPrefix(sort.toUpperCase(), 'SORT_')
|
||||||
})),
|
})),
|
||||||
selected: library.selectable.sorts
|
selected: library.selectable.sorts
|
||||||
.filter(({ selected }) => selected)
|
.filter(({ selected }) => selected)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue