Merged in release/2024-02-16 (pull request #1286)

- Fix issues with labels on sorters
This commit is contained in:
Dave Richer
2024-02-16 02:05:56 +00:00

View File

@@ -210,7 +210,7 @@ function RenderFilters({templateId, form}) {
state.sorters
? state.sorters.map((f) => ({
value: f.name,
label: t(f.translation),
label: f?.translation ? (t(f.translation) === f.translation ? f.label : t(f.translation)) : f.label,
}))
: []
}