Merge pull request #559 from Stremio/fix/library-sort-select-labels

fix(Library): sort label translations
This commit is contained in:
Tim 2024-01-11 13:16:07 +01:00 committed by GitHub
commit abaac17c07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ const mapSelectableInputs = (library, t) => {
options: library.selectable.sorts
.map(({ sort, deepLinks }) => ({
value: deepLinks.library,
label: t.stringWithPrefix(sort, 'SORT_')
label: t.stringWithPrefix(sort.toUpperCase(), 'SORT_')
})),
selected: library.selectable.sorts
.filter(({ selected }) => selected)