Skip to content

Commit

Permalink
refactor(Library): add translation to sort selectable
Browse files Browse the repository at this point in the history
  • Loading branch information
tymmesyde committed Apr 12, 2023
1 parent b41cc41 commit 02fceea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/Library/useSelectableInputs.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const mapSelectableInputs = (library, t) => {
options: library.selectable.sorts
.map(({ sort, deepLinks }) => ({
value: deepLinks.library,
label: translateOption(sort)
label: translateOption(sort, 'SORT_')
})),
selected: library.selectable.sorts
.filter(({ selected }) => selected)
Expand Down

0 comments on commit 02fceea

Please sign in to comment.